News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

VISTA exception handling ??

Started by Ficko, August 11, 2009, 06:11:12 PM

Previous topic - Next topic

Astro

Interesting...

We might be getting somewhere with this (but not entirely...).

http://www.eggheadcafe.com/conversation.aspx?messageid=29220332&threadid=29220332

:eek

Nice... so they remove the app from the screen ad suppress all error messages (except when debugging, apparently). How does Vista know the difference between "normal" and "debugged"?

Best regards,
Astro.

Slugsnack

IsDebuggerPresent could be used or read it straight from PEB (BeingDebugged) or CheckRemoteDebuggerPresent, there's quite a few ways of checking if your app is being debugged

Ficko

That's crass I didn't know about this "Ghosting" shit. :eek

Nevertheless there must be some more to it because this "ghosting" was apparently introduced by XP already but XP responding well to exceptions in message loop and

I tryed out "DisableProcessWindowsGhosting" nothing really changed. :'(

Astro

Quote from: Ficko on August 15, 2009, 03:55:35 PM
That's crass I didn't know about this "Ghosting" shit. :eek

Nevertheless there must be some more to it because this "ghosting" was apparently introduced by XP already but XP responding well to exceptions in message loop and

I tryed out "DisableProcessWindowsGhosting" nothing really changed. :'(
...so either the article is wrong, the MS articles are wrong, or Windows is buggy to hell.  :eek

I didn't know XP had ghosted windows.

http://msdn.microsoft.com/en-us/library/ms648415(VS.85).aspx

Best regards,
Astro.