c++ - vs2008 failed to capture exceptions with SetUnhandledExceptionFilter -


i'm writing crashreport.dll can used exe, long exe load it, captures exceptions, prompt user report, restart application, etc. i'm using setunhandledexceptionfilter, it's not working. seems vs2008 crt handling crash, when there's crash, popups dialog "microsoft visual c++ runtime library", exception callback not called.

i googled lot, articles crt registers exception handler. when debug exe ollydbg, set break point @ setunhandledexceptionfilter, found called twice. first in crtstartup, it's before main second in main function, called code there's no more call it, , set api hook setunhandledexceptionfilter prevent further calling.

any idea?

thanks.

the problem seems has project configuration, deleted old solution, created new , copy files new solution, works. don't know why. guys.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -