It seems that Windows XP SP3 has done something to change the EnumPrinters API. I have a program that resides on a shared drive mapped to a drive letter and it uses the EnumPrinters API to get the listing of local printers that are available on the local machine (Flags = %PRINTER_ENUM_LOCAL Or %PRINTER_ENUM_CONNECTIONS Or %PRINTER_ENUM_NETWORK). This has always worked just fine until clients started upgrading their machines to the newest service packs. Now the EnumPrinters call works *if* the program is run from the local hard disk, but fails if run from a mapped network drive. I have searched google and can't find a solution to this problem, and was wondering has anyone else here encountered this.
Any Ideas? I've already added the server as a "Trusted" server, and removed all firewalls between the client and server. Program launches fine, just the EnumPrinters call returns NULL.
Scott
Any Ideas? I've already added the server as a "Trusted" server, and removed all firewalls between the client and server. Program launches fine, just the EnumPrinters call returns NULL.
Scott
Comment