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);
, but it disables VS window on top of win7 window.