PDF converter error in Fox Pro on Win XP

If you are a VFP developer and have any questions about using our products from VFP here is the place to post them.
Post Reply
mangle
Posts: 2
Joined: Fri Feb 06 2004

PDF converter error in Fox Pro on Win XP

Post by mangle »

Hello, I'm using your PDF converter version 2.1 from Visual Fox Pro. I can access the PDF driver using the FLL interface and CDINTF interface in Win 98 and Win 2000, but the code does not work correctly in Windows XP.

After installing the driver I register the CDINTL.DLL with regsvr32. Afterwards I run the following code:

Pdf = CreateObject( "CDINTF.CDINTF" )
Pdf.DriverInit( "PDF Compatible Printer Driver" )

OR

SET LIBRARY TO FLLINTF.FLL ADDITIVE
PDF = DriverInit("PDF Compatible Printer Driver")

Both work correctly from Win 2000 but return an error from XP. For CDINTF it returns an error 1801 (OLE (Dispatch exception code 1801 from cdintf: DriverInit failed)

Does this problem have a work around?

Thanks,

Michael
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

If you are using version 2.10 of the PDF Converter than you must be calling:
Pdf = CreateObject( "CDINTFEx.CDINTFEx" )
and not
Pdf = CreateObject( "CDINTF.CDINTF" )


Also the printer name installed by version 2.10 is "Amyuni PDF Converter", the default printer name was "PDF Compatible Printer Driver" in version 1.5 of the PDF Converter.

Please contact our Support Department support@amyuni.com and explain to them more precisely what you are doing so they can pinpoint the problem.

Thanks.
Last edited by Joan on Tue Feb 10 2004, edited 2 times in total.
mangle
Posts: 2
Joined: Fri Feb 06 2004

Post by mangle »

This corrected the problem. Thanks for your assistance.

Michael
Post Reply