zoharl
10-28-2011, 01: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.
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.
