Jump to content
  • Advertisement
Sign in to follow this  
Hunter_Ex

Continue on Error

This topic is 4839 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hey is it possible to continue running a program even if an "illegal operation" has happend?? like have an option to not abort
int * ptr = 0;

int main()
{
    
   try
   { 
      throw *ptr = 0;
   }
   catch ( ... ) {}
   
    
   while(1) {}
}

that code produces an "illegal operation" can i make something to continue? without abort?

Share this post


Link to post
Share on other sites
Advertisement
I'm fairly certian Windows has some API functions that deal with handling illegal opperations, etc. However, I can't remember the names off the top of my head. And for all I know, it could just be ye olde brain that's making this junk up.. You'd be best off searching MSDN, and not asking the same question over again.

Share this post


Link to post
Share on other sites

This topic is 4839 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!