Re: MiniDumpWriteDump fails when using dump type MiniDumpWithIndirectlyReferencedMemory




I am loading dbghelp.dll explicitly (using LoadLibrary) and check
explicitly on the Dbghelp.dll version and require it to be at least
version 5.1.2600. In my case (on my PC), the version is 6.6.7.5,
which should support the MiniDumpWithIndirectlyReferencedMemory type
according to the documentation, but which generates a .dmp file with
an incorrect/corrupt call stack (no call stack is visible in the
debugger).
MiniDumpWriteDump succeeds, but GetLastError still returns error 299.


What happens if you create a small application that uses the same code
to produce the minidump? Will it work? If it won't work too, please post
the application's code here. E.g. you can use this sample as a starting point:
http://www.debuginfo.com/examples/src/effminidumps/MiniDump.cpp

Oleg




.



Relevant Pages


Loading