Page 1 of 1

IPXCControlEx.RemoveOrphanPrinters() - multiple instances

Posted: Wed Aug 24, 2016 2:49 pm
by nick.tucker
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

Re: IPXCControlEx.RemoveOrphanPrinters() - multiple instance

Posted: Fri Aug 26, 2016 5:10 am
by Ivan - Tracker Software
As usual RemoveOrphanedPrinters should not remove printers associated with launched app as it should be 'locked' by this app.
Will try to reproduce the issue locally and solve it as soon as possible.