Jump to content
  • Advertisement
Sign in to follow this  
guyaton

__try __exception __finally MSVC.NET

This topic is 4598 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

I was looking up error handling in VS.NET (2002) last night and came across these Microsoft specific error handles __try __exception __finally What are your opinions on them and are they better then try catch() blocks? ~guyaton

Share this post


Link to post
Share on other sites
Advertisement
It isn't a question of one being better than another. They're used for different things.

try/catch in C++ is used for catching exceptions thrown via "throw".

__try/__except/__finally is for catching stuff like access violations. It works in C as well as in C++.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!