Frequently Asked Question:
Compatible within 64-bit environment if the project is target to an x86
I bought your product and I am trying to use it on a Windows 64-bit machine but, even using the configuration that you mention on your site:
64-bit
- Compatible within 64-bit environment if the project is target to an x86 CPU. This requires targeting the Visual Studio solution configuration for x86 deployment, and then modifying the .net project build configuration to target the x86 platform.
- Note: we are developing a 64-bit solution, however, the release date is not confirmed.
...the program does not work.
I changed the configuration to X86 in visual studio and did not work.
What shall I do?
Were you able to get your application to access Quick PDF Library by setting the build target to x86?
The basic steps required for configuring a project in Visual Studio to work on 64-bit machines with either the ActiveX or DLL editions are shown below.
- Right-click on your project and select 'Properties' from the menu
- Click on the 'Build' tab
- Under 'General' change the 'Platform target' to x86
- Save
An alternative (for the ActiveX edition only) is to register the ActiveX library with Component Services. The library will be hosted within a surrogate process (dllhost.exe)
You can then keep your application as a 64-bit app and the calls to QPL will be routed via DCOM between the 64-bit and 32-bit processes.
To do this, run Control Panel | Administrative Tools | Component Services.
Right-click on the "COM+ Applications" node in the tree and choose New | Application.
Create an empty application, give it a name and select Server application.
Right-click on the "Components" node under the application you created and select New | Component. Then select "Install new components" and add the QuickPDFAX[ver].dll file.
Your 64-bit application can then call the CreateObject("QuickPDFAX[ver].PDFLibrary") as usual and it should work on Windows 64-bit.