I have a .net application that is designed to work in a 32-bit environment and runs on a 64-bit OS in a wow64 environment.
Now I am creating a utility (32 bit) to dump the application.
I use the following code to dump.
[DllImport("dbghelp.dll", EntryPoint = "MiniDumpWriteDump", CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)] static extern bool MiniDumpWriteDump(IntPtr hProcess, uint processId, SafeHandle hFile, uint dumpType, ref MiniDumpExceptionInformation expParam, IntPtr userStreamParam, IntPtr callbackParam);
This API call executes perfectly on a 32-bit OS, but does not work on a 64-bit OS.
Has anyone dumped a 32-bit application on a 64-bit OS? Help for Pls.
source share