Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to debug compiled dll

Status
Not open for further replies.

Lorey

Programmer
Feb 16, 2003
88
SG
Hi Experts,

I need to modify and debug compiled dll in VC++6.0.
Please tell me how to do it.
 
Hi Lorey,

1. Define some breakpoints
2. press F5
3. enter the name of the executable which uses your DLL
4. debug the hell out of it!

:)

If this does not help you, you might want to be more specific about your problem.

Greetings,
LF28
 
what i mean is I have a program which is not an .exe, its a dll program. I need to modify it. How can I debug it and show the form.

currently, I need to attach it first in our main program in order to see my modification, and its very tedious. How can I make it behave like an .exe (temporarily for debugging purposes).

 
A dll is very very similar to an exe - but with one critical difference (the only difference really) : It can't run stand-alone.

>How can I make it behave like an .exe (temporarily for debugging purposes).

By making a small and trivial app that loads the dll and then you simply specify that app as the executeable to run when you want to debug.



/Per

www.perfnurt.se
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top