I have a userbase of several thousand users, on a mix of Win 2000, XP,
Vista, and OS X 10.x. Most all of them print from my application on a
regular (daily) basis with no problems.
Yesterday I heard from a user on Vista who is having problems. Big
problems:
When he hits the print button, the application crashes - so hard, in
fact, that no exception is ever even thrown. The app simply goes away.
I have very verbose logging installed in my app, and have narrowed the
crash down to this call:
g = OpenPrinterDialog(app.pageSetup)
This is supposed to open the OS printer selection box where he can
choose which printer to use, how many copies to print, etc.
app.pageSetup is a printerSetup object that is setup like this:
app.pageSetup.setupString = pageSetupPref
where pageSetupPref is a string read out of my database (it is stored
in the database in a base64encoded format to avoid binary gunk in the
string wreaking havoc with stuff on windows - historically in RB apps
this has been a problem)
As I said above, this approach works fantastically well for my other
several thousand users - just not for this one. How can I narrow down
what is causing the problem?
Here is what I have tried:
Change the call to be g = OpenPrinterDialog(new PrinterSetup) - still
crashes (this eliminates the possibility that the string is being
corrupted by being stored in the database)
Uninstall all printers, then install just a pdf printer - still crashes
Cleaned up registry entries related to printing, spooling, or old
printer software - still crashes
Dug around in the windows event viewer looking for information -
nothing to be found there.
What's next?
Thanks!
- Kimball
http://www.kimballlarsen.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|