Skip to main content
GameDev.net gamedev.net
🔒 Locked

Exception Handling

Started by Goodlife May 8, 2004 at 8:47 PM 1 replies 500+ views
Original Post
Goodlife
Goodlife
Hi I notice that Popcap games, when they hit a general protection fault, or some other crash, come up with a custom window telling you about the error, and giving you the option to click a button to send the error right to Popcap. I wanna do this! I thought it would look something like this: try { Initialize(); Run(); Shutdown(); } catch (...) { // Show custom window for GPF thing... } ...But that doesn''t work, I still get GPFs. Can anyone point me in the right direction, or recommend a resource where I can get more info on this? Thanks!
-- Goodlife-----------------------------Those whom the gods would destroy, they first drive mad.--DirectX design team official motto
Shannon Barber
Shannon Barber
Look up Win32 SEH
The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.