开发者

I don't have a clue on how to debug an application in Visual C++ 2008 Express

Beginner question: I want to debug开发者_如何学运维 some code that compiles. I pressed debug, it asked for an exe file. I browsed and selected the Visual C++ exe. It doesn't work and I don't know how to change it.

  1. How to change this EXE file?
  2. To what should I set it?


It seems you are debugging a DLL. To debug a DLL, make a Win32 console program EXE and then call a function that is exposed by the DLL. Or, you could create Win32 console program (EXE) and put your code into it; then you can debug the EXE directly.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜