Quote:Original post by Anonymous Poster
I'd say you're on the wrong track. Step back, do some reading and try again :)
I'd say he's on the right track indeed.
The reason for having the logfile is probably so some user that has the game crash can send him the logfile.
Getting SEH to work with the intrinsics shouldn't be a problem at all, as long as you make sure you actually tear down your exceptionhandler when you're done with it.
Anyway, SetUnhandledExceptionFilter() is the way to go, as I and others already told you. It's not global, like someone said, it's per-process. UnhandledExceptionFilter() should work in all cases, no matter what the startup-code. If someone's written exceptionhandlers for every single exception, and isn't reporting them back to you (in their CRTStartup that is) they should have their hands cut off so they can't code any more.
And i don't think i know of a CRT that does this either...