The task of adding WIN64 build type was really simple (Delphi has this feature from XE2 version) – just added a target platform (64-bit Windows) and recompiled – pure 64-bit version ready! The time has come for this application to be upgraded from 32-bit to 64-bit. This approach requires knowing the name of the ActiveX (“acropdf.dll” or alike) and either creating a component out of it (to be drag-dropped to a form) or instantiating the object dynamically.Īll this works without any issues as long as you compile your Delphi application as WIN32 (x86) applications – those can work both on x86 and 圆4 Windows. This approach is really pretty simple: when a user of the application has Adobe Reader (/Acrobat) installed, by default any PDF documents will get open inside Internet Explorer (and therefore inside TWebBrowser) – neat and simple way to provide easy PDF preview in a Delphi application (until you go 64-bit…).Īnother approach would be to directly use Reader’s ActiveX and place it in a container on a form. I have an application using TWebBrowser component to allow viewing of Adobe PDF documents within the application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |