开发者

How to debug a DLL file built in VC++ with Delphi code?

开发者 https://www.devze.com 2023-02-06 21:21 出处:网络
I am a developer working on Delphi. In my project I have added a DLL file which is built in VC++. I need to debug the DLL file to fix some issues.

I am a developer working on Delphi. In my project I have added a DLL file which is built in VC++. I need to debug the DLL file to fix some issues.

So what are the steps needed to follow in order to debug DLL file with D开发者_如何学Pythonelphi code?


You cannot debug the DLL from inside of Delphi, unless you do not mind stepping through the DLL's raw x86 assembly instructions. Otherwise, you need to load the DLL's source code into VC++ and use VC++'s debugger, specifying your Delphi application as the executable to use for the debugging session.


Probably you can also use Windows debugging tools (WinDbg) if you don't want to use VC++, but Delphi can't debug VC++ code because it has no support for its symbol files format.

0

精彩评论

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