cdintf250.lib and programatic installation

If you are a C/C++/C# developer and have any questions about using our products from your application here is the place to post them.
Post Reply
ASRoden
Posts: 36
Joined: Thu Jun 15 2006
Location: Auburn, NY USA
Contact:

cdintf250.lib and programatic installation

Post by ASRoden »

Hi, I am linking the cdintf250.lib with my process, but am having trouble automating the installation process. I have followed the DLL developer notes in the "Common Driver Interface 250.pdf" file, but for some reason my process crashes on me when trying to call the PDFDriverInit() function, Unless I have run the Install.exe first.

Is there a way to install everything programatically i.e. with PDFDriverInit() etc...? or will I have to run the Install.exe from my own install process?

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

Post by Joan »

Hello,

You can definitely run PDFDriverInit to install the printer, i suggest that you follow the call of PDFDriverInit by a call to EnablePrinter than a call to DriverInit so the printer is kept on the system even when closing your application.

For PDFDriverInit to run however you need to have administrative rights on the machine.

Hope this helps.
ASRoden
Posts: 36
Joined: Thu Jun 15 2006
Location: Auburn, NY USA
Contact:

Post by ASRoden »

Ok this was a PATH issue. Thanks and sorry for the dumb question.
Post Reply