I am using the evaluation version of the PDF Printer Driver. I am trying to use the DLL interface from a PowerBuilder application.
I am using Windows XP Pro and I have full administrator rights on my PC.
I have copied CDINTF.DLL into my Winnt\system32 directory.
After the call to PdfDriverInit() there is a small delay (3 or 4 secs) and the value 0 is returned.
I need help to get started here, am I doing this correctly?
Code: Select all
long lv_hPrinter // printer handle
string lv_msg // message String
lv_hPrinter = PdfDriverInit ( "Test PDF Converter" )
if lv_hPrinter = 0 then
MessageBox ( "PdfDriverInit", "Failed" )
return
end if