Advertisement Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Win32 Exception catching + 64bit assembler

Sign in to follow this  


Since I seem to have annoyed Rob Loach with my last entry, this time, I'll write something useful[grin]

I have been spending quite a while writing an advanced test framework for my system, as was looking for a simple way of catching system exceptions, which were the main problems with the code being tested. The solution (plus digging through MSDN) was found here on Thunderguy's site. The only problem that I've found with it is that each version of Visual C++ needs a different set of compiler switches to allow it.

I've also being doing some Win64 coding, which is fun up to the point that the compiler that comes with the platform SDK doesn't allow inline assembler. Fortunately there's a NASM compatible assembler called YASM here that can handle 64bit assembler that can be linked to Microsoft code. Get the latest snapshot from the downloads page, as the official release (0.4.0) doesn't support 64bit in microsoft format.
Sign in to follow this  


Recommended Comments

My hands? They only work intermittently, as I have an arthritic-like illness.

Why do you ask? It isn't mentioned above [looksaround]

Edit: I see - I really should read my own journal more [grin]

Share this comment

Link to comment
One other thing...

Rating++ for the avatar. Richard Richard and Edward Hitler, classic comedy!

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!