开发者

dbgeng - load extension dlls in c++?

I have written one application in which I load one system wide crash dump using dbgeng.dll. I want to use some of the WinDbg commands like (!vad) - for that I need other dll's like exts.dll, ext.dll, kext.dll, kexts.dll. I have all these dlls and have my _NT_DEBUGGER_EXTENSI开发者_开发百科ON_PATH properly set. When I use the WinDbg GUI - .chain command tells me that all these dlls are loaded but when I try to do it from my code - I can't see these dlls loaded. Also when I try to load these dlls using Execute (.load....) - it throws an error - " The call to LoadLibrary('...') failed, Win32 error 0n193". I tried !load as well - both of them didn't work in my code. But everything works perfectly in GUI. I am not able to figure out how to load all these dlls in my c++ code.

Could anybody please help me out here ? I would really appreciate your help!

-arb


Error 193 If you get error 193 usually means that you are trying to load 64-bit dll in a 32-bit application (or vice versa).

Make sure that you load dbgeng.dll from the same directory windbg is installed to. You will then be able to use all windbg commands via IDebugControl::Execute

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜