Registering the 32-bit ActiveX control for Navision.

This is a read only forum. It contains the most frequently asked questions about Amyuni products and licensing.
Post Reply
Rich
Posts: 76
Joined: Thu Jun 16 2011

Registering the 32-bit ActiveX control for Navision.

Post by Rich » Wed May 02 2012

You are trying to add the Amyuni ActiveX control in Microsoft Navision and under the Automation Server it does not appear.

Background:

When our install.exe is executed, it detects the OS the printer is being installed on and it installs the appropriate printer drivers. Our installer on a 64bit PC, will install the 64bit printer driver and installs and registers both the 32 and 64bit versions of cdintf.dll.

The 32bit cdintf.dll is copied to the c:\windows\syswow64 directory, re-named to cdintf450.dll and registered.

The 64 bit cdintf64.dll is copied to the c:\windows\system32 directory, re-named to cdintf450_64.dll and registered.

The PDF Converter is shipped with 32 and 64bit versions of the CDINTF#.dll. This dll is not the printer driver, it is a DLL that will allow a developer to manipulate PDF documents. Example, when you use the document object, you are using this DLL and not the printer driver.

When the PDF Converter is installed on a 64bit PC, it installs the 64bit printer drivers and adds both the 32 and 64 versions of the cdintf.dll. The 32bit dll (cdintf450.dll) is placed in the C:\windows\syswow64 and the 64bit dll (cdintf450_64.dll) is placed in the C:\windows\system32 directory.

On a 32bit PC:

32bit printer drivers installed.
32-bit cdintf.dll, renamed to cdintf450.dll, and placed in the C:\windows\system32 directory
No 64bit dll added to PC.

On a 64bit PC:

64bit printer drivers installed.
64-bit cdintf64.dll, renamed to cdintf450_64.dll, and placed in the C:\windows\system32 directory
32-bit cdintf.dll, renamed to cdintf450.dll, and placed in the C:\windows\syswow64 directory

Resolution:

On a 64-bit Server using the 32-bit Nav application you would need to manually register the CDINTD450.dll (32-bit) in order for it to appear in the Automation Server.

This can be done 2 ways:

1. Command line

Image

2. Using the Register application

Right-click on the CDINTF450.dll in the c:\windows\syswow64 folder and select Open with | Choose default program | Browse... | go to the c:\windows\syswow64 folder and select the regsvr32v.exe | Open | OK

Once you register the 32-bit DLL you will then see the ActiveX control under the Automation Server named "Amyuni PDF Converter ActiveX"
Efficient and accurate conversion to PDF, XPS, PDF/A and more. Free trials at - http://www.amyuni.com

Post Reply