I'm writing a program that's liable to have segfaults in the first few releases (lots of malloc'ed stuff, unlikely to debug it all in time).
I was just wondering if there's a way I can make the program fail a little more gracefully for the user when it hits one, for example popping up a dialog giving a link to report the bug
currently the only way I can think of doing this is by wrapping the program in a bat script (or something similar) that will watch for non-zero exit & call a popup program.
anyone got neater ideas/alternative methods?
the program's being written in dev-c++ (using C only tho, not c++)
for win32 systems