naikr

New Member
Joined
Jun 24, 2008
Messages
4
Hi,
I have an application that is supposed to have printing functionality.
Application is developed in VC++ 6.0 w/ SP6 and Vista Ultimate OS.

The problem:
There are no printers configured/added in the machine yet.
When I click print button, Add Printers dialog from Vista popsup. It gives me an option to choose local printer or a network printer.
When I click Network Printer, my application crashes !!!

I use DoPreparePrinting method.

Please let me know the cause.
 


Solution
Hi,
There is no error code as such.The application was developed on win2k and was needed to make it compatible with Vista.So during testing we found that the add printer options dialog Network printer crashes. When we see the call stack the crash is in Ole32.dll.So there is no trace from our module.Once DopreparePrinting is called the systems print dialog pops up and then by selecting network printer it crashes.I tried with the updates mentioned by u .But its not working.Any guess how to resolve this.
Hi!! I have an educated guess, a couple of thoughts really. Is everything squared away with the Universal Naming Convention (UNC) ? KB941542 Could there be anything wrong with say an outpost firewall ? Similar to this man: Link Removed This VC++6.0/SP6- a private program? I've heard they cause problems now and then. Have you run a compatibility test ? (Printer and Computer) What are the error codes? Anything that flags----
 


Hi,
There is no error code as such.The application was developed on win2k and was needed to make it compatible with Vista.So during testing we found that the add printer options dialog Network printer crashes. When we see the call stack the crash is in Ole32.dll.So there is no trace from our module.Once DopreparePrinting is called the systems print dialog pops up and then by selecting network printer it crashes.I tried with the updates mentioned by u .But its not working.Any guess how to resolve this.
 


Solution
Link Removed due to 404 Error (Hi!! Would these be useful ?) Link Removed Perhaps, It's not something wrong with Vista Ultimate?
 


Back
Top