Saturday, April 14, 2012 12:40 AMFaced with the problem of reading minidump files in c #. Tell me how to implement it?
- Edited by Ge_R_oD Saturday, April 14, 2012 12:41 AM
Saturday, April 14, 2012 5:23 AM
You can use dmpchk to analyze dmp files right?
If you are looking to read from c#, you can get it through
[DllImport("dbghelp.dll", SetLastError = true)] public static extern bool MiniDumpReadDumpStream(IntPtr BaseOfDump, int StreamNumber, ref MINIDUMP_DIRECTORY Dir, ref IntPtr StreamPointer, ref UInt32 StreamSize);Hope this helps you
If this post answers your question, please click "Mark As Answer". If this post is helpful please click "Mark as Helpful".
Saturday, April 14, 2012 6:07 AMVS stresses on MINIDUMP_DIREKTORII. Missing using row or not announced. Where is the description of MINIDUMP_DIREKTORII?
Saturday, April 14, 2012 6:38 AM
a good source is always the MSDN Library. You can search on structures there. But you have to create them yourself - Microsoft only offers the C/C++ headers for unmanaged use.
This link could be usefull for you:
You can follow the links inside and then create the same structures in c#.
With kind regards,
Saturday, April 14, 2012 12:00 PM
Check below link
Sunday, April 15, 2012 7:32 AM
Are you running without a swap file? Apparently, you need a paging file of at least 2MB on the boot volume for a minidump.