Access to shared printer is creating an exception (XP SP3)
Posted on 2008-06-17
I am using in my software Printer.Handle & Printer to set some settings.
This worked till now fine.
After installing the SP3 of XP the program is crashing on some computers. This happens mostly when the standard printer is a shared network printer.
Printer is not nil, but when I try to access Printer.Handle or retrieve printer.pagewidth then the program is crashing.
Is there a way to find out whether the printer is a shared one?!
Or what could be the reason that there is no access to the handle.