IPXCControlEx.RemoveOrphanPrinters() - multiple instances
Posted: Wed Aug 24, 2016 2:49 pm
Hi Tracker.
I have just upgraded and ported my C++ code from using PDF-XChange 4.0 Drivers API SDK to PDF-XChange 6.
I notice the new sample C source code (CExAPI) shows IPXCControlEx.RemoveOrphanPrinters() being called as soon as the factory object is created to remove any old printer objects that haven't been cleanly deinitialised.
I've found that if two separate executables do this simultaneously, one sometimes causes the other to fail (issue unexpected dialogs).
Nick Tucker
I have just upgraded and ported my C++ code from using PDF-XChange 4.0 Drivers API SDK to PDF-XChange 6.
I notice the new sample C source code (CExAPI) shows IPXCControlEx.RemoveOrphanPrinters() being called as soon as the factory object is created to remove any old printer objects that haven't been cleanly deinitialised.
I've found that if two separate executables do this simultaneously, one sometimes causes the other to fail (issue unexpected dialogs).
Nick Tucker