Win32 Exception catching + 64bit assembler

Published August 14, 2005
Advertisement
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.
0 likes 3 comments

Comments

ukdeveloper
What's up with your hands?
August 15, 2005 07:51 AM
gregs
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]
August 15, 2005 10:10 AM
ukdeveloper
One other thing...

Rating++ for the avatar. Richard Richard and Edward Hitler, classic comedy!
August 15, 2005 06:47 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement