On the road
Posted By matt on April 22, 2004
I'm traveling for a few days. Not far – just Burlington, MA. But, it's a good 1 hour drive without traffic, and with traffic (Boston and Providence), it can be 2 hours plus. So, it's easier to get a hotel room; then I'm not getting up at 5 and getting in at 7 in order to do a 9-5er up there.
Went to the Rainforest Cafe. My boss insisted. Not bad. The waitress got bitched out by a lady 2 tables over about the food and the price of the food. While the lady had a point (Mews is better food at about 25% less), she was especially mean about it. So, I left the waitress a note roughly akin to:
Go home.
Have a glass of wine.
Forget about the stupid blonde lady.
- -)
Figured it would brighten her evening.
Of course, I'm up here because a customer is having trouble with our printer driver. The spooler crashes somewhat randomly. and more frequently the more printers that have errors. Only on Windows 2003. Not on 2k or XP. After futzing with it for about four hours, I had it down to one call. Comment it out, everything works. Uncomment it, stuff blows up. The call:
CMyDialog.DoModal();
Replace it with:
MessageBox(…)
and it all works great.
Conclusion: Microsoft Foundation Class (MFC) dialogs are busted under 2003. They leak memory, go past memory boundries, and crash things.
If I do it the non-MFC way (as the MessageBox-es are done), it works great.
I don't suppose we can bill MS for my time? Hell, I'd be happy if they can just be convinced to fix it.
Alright, time to go do some work.
Comments
Leave a Reply
Please note: Comment moderation is currently enabled so there will be a delay between when you post your comment and when it shows up. Patience is a virtue; there is no need to re-submit your comment.