开发者

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

开发者 https://www.devze.com 2022-12-17 18:34 出处:网络
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 ho

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

精彩评论

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

关注公众号