PDA

View Full Version : Disable debug/close app at win 7


zoharl
10-28-2011, 02:55 AM
Hi,

When my plugin crashed in xp I got a VS window asking me which debugger I want to attach to it. Now in win7 I have a redundant window before that, which asks me if I want to debug or close the application. How can I bypass this window?
I found the following thread, with the magic lines:

DWORD dwMode = SetErrorMode(SEM_NOGPFAULTERRORBOX);
SetErrorMode(dwMode | SEM_NOGPFAULTERRORBOX);

http://stackoverflow.com/questions/396369/how-do-i-disable-the-debug-close-application-dialog-on-windows-vista

, but it disables VS window on top of win7 window.

CGTalk Moderation
10-28-2011, 02:55 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.