mco
asked on
StartDocPrinter fails with strange errno
(This is not an MFC question, rather a WIN32 API question, I couldn't find a more relevant topic).
I am using the StartDocPrinter() API to print a text document.
Everything works great on the PCs at work.
Printing failed at a customer site.
It turns out that StartDocPrinter() failed (returned 0).
The errno returned by GetLast Error was once 32 ("The process cannot access the file because it is being used by another process. ") and twice 1722 ("The RPC server is unavailable. ").
Can anybody tell me what the problem might be.
(The OS used is W2000)
Thanks you
I am using the StartDocPrinter() API to print a text document.
Everything works great on the PCs at work.
Printing failed at a customer site.
It turns out that StartDocPrinter() failed (returned 0).
The errno returned by GetLast Error was once 32 ("The process cannot access the file because it is being used by another process. ") and twice 1722 ("The RPC server is unavailable. ").
Can anybody tell me what the problem might be.
(The OS used is W2000)
Thanks you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Please finalize this.
Moondancer - EE Moderator
Moondancer - EE Moderator
ASKER