开发者

vb6 debugging .exe to .dll

Probably a question that has been asked before. Please guide me to any questions that might answer my question...

I have a VB6 .exe that calls a VB6 .dll. I would like to开发者_开发知识库 debug the .dll from the .exe code.

Any ideas on how to achieve that? It has been a very long time since I have played with vb6.

Thanks


Open both VB6 projects in one VB6 IDE (a VB Project Group ... creates and uses a file extension of .vbg if I remember correctly). Also, set debugging to Break in Class Module.


You need access to the DLL symbols (usually a PDB file). Make sure that the dll symbols are being generated.

If you open the dll as raw text and go to the end of the file, you can find the path where the pdb file is expected to be located.


I think you have to add the dll project to the to the exe project (File->Add project) to step into the dll code. Update: Yes, I think you'll also need to remove the reference to compiled dll.


I'm facing a similar issue and I have been following all the steps you have provided. Nothing is moving. I'm not winning.

I think you have to add the dll project to the to the exe project (File->Add project) to step into the dll code. You'll also need to remove the reference to compiled dll.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜