Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

Compatible within 64-bit environment if the project is target to an x86

Question

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?

Answer

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.

  1. Right-click on your project and select 'Properties' from the menu
  2. Click on the 'Build' tab
  3. Under 'General' change the 'Platform target' to x86
  4. 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.


© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum