Archived

This topic is now archived and is closed to further replies.

Austrian Coder

Debuging a dll

Recommended Posts

Austrian Coder    122
Hello! I have a dll and a test sample. The two workspaces are in one vc 6.0 workspace. I compile the sample in debug mode -> dll is also compiled in debug mode. Now i get an stack overflow in my dll, but it is not showing the source of the error, only the asm of the error. How can i get the position in the source of the error? Thanks, Christian

Share this post


Link to post
Share on other sites
In the executable''s project, go to Project->Settings and click the Debug tab. Go to the Additional DLLs category, then add the DLL from the Debug build directory of your DLL''s project. This will make VC load the symbols for your DLL when you run the executable from the debugger.

Hope this helps...

- Thomas

Share this post


Link to post
Share on other sites