#include static void foo() { int *f=NULL; *f = 0; } static void bar() { foo(); } int main() { LoadLibraryA("backtrace.dll"); bar(); return 0; }