I have some code in C# and C++ ( in one project ). This code have some crash and i trying t find it. but this crash is not reproduce any time - and i can\'t find it.
You can register an unhandled exception filter and PInvoke MiniDumpWriteDump. A code sample to do that is located here
I find it easier to use ProcDump. Try the -e (create dump on unhandled exceptions), -ma (w/ full process memory), and -t (create dump on app termination) options.
You can enable saving dumps on vista in the registry: