c++ - Best place to call MiniDumpWriteDump() to catch a crash -



c++ - Best place to call MiniDumpWriteDump() to catch a crash -

i have large-ish win32 programme i'm maintaining, , i'd instrument automatically , unconditionally generate minidump file whenever something bad happens. can't inquire customers install userdump.exe, , can't inquire them install visual studio.

is there way of doing this? i'd able generate minidump whether abort() called our assert handler (which complicated), whether touches bad memory, or else bad happens.

on posix, i'd install signal handler , done this. understanding equivalent approach on windows seh, our programme starts lot of threads in lot of different places painful wrap every thread entry point __try/__catch.

ideas?

c++ windows exception signals structured-exception

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -