windows - Win32: How to crash? -


i'm trying figure out windows error reports saved; hit send on earlier today, forgot want "view details" can examine memory minidumps.

but cannot find stored (and google doesn't know).

so want write dummy application crash, show wer dialog, let me click "view details" can folder dumps saved.

how can crash on windows?

edit: reason ask because i've tried overflowing stack, , floating point dividing zero. stack overflow makes app vanish, no wer dialog popped up. floating point division 0 results in +inf, no exception, , no crash.

should start:

int main(int argc, char* argv[]) {    char *pointer = null;    printf("crash please %s", *pointer);    return 0; } 

Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -