SetDefaultConfig

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
mrtflv
Posts: 21
Joined: Tue Apr 20 2004

SetDefaultConfig

Post by mrtflv »

I have few windows Xp with latest sp3 that sometimes will hang on the call to SetDefaultConfig on 3.03 (3.02 will get same result).
All seems to be correct, the pdf printer driver is installed and configured, just the call to SetDefaultConfig that never returns.
Is there anything i can check (other drivers conflict, etc, etc), or is there any debug version of cdintf.dll to verify what happens.
Thanks for any idea.
Flavio
Devteam
Posts: 119
Joined: Fri Oct 14 2005
Location: Montreal
Contact:

Re: SetDefaultConfig

Post by Devteam »

SetDefaultConfig sends notifications to all running applications to notify them of the change in printer settings. If one or more application does not respond to messages or takes a long time to respond, then you feel that the system hangs. There is a timeout of 1 minute after which the notification is dropped. This frequently happens in a debug environment where the debugger is blocking an application.

You can avoid the notifications by using SetDefaultConfigEx, but then you have to make sure that your application handles the change in printer properties corectly.
Amyuni Development Team

Efficient and accurate conversion to PDF, XPS, PDF/A and more. Free trials at - https://www.amyuni.com
Post Reply