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.
- How to change this EXE file?
- 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.
精彩评论