how to debug dll in Delphi

richard 2000-07-19 10:32:00
I write a dll using delphi. And I write a host application using VC++. So I set it in the run and parameters option dialog. And I set breakpoint in the dll export function, when I run it in the Delphi IDE, it doesn't stop in the entry point. (I don't want to change the dll to application for debuging)

...全文
136 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
JGTM2000 2000-07-19
  • 打赏
  • 举报
回复
It should work as you described. Be sure that the exported functions are called and breakpoints are set on valid (non-optimized) lines. And, I recommend you do common programming tasks on NT platform (it's impossible to debug multiple process at the same time on Win9x, while DLL debugging should be no problem). Also, turn off optimizing during debug phrase will do a little help. Wish you good luck programming and debugging.

5,379

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧