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
PDF converter error in Fox Pro on Win XP
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.
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.