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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Debug VC com dll

Status
Not open for further replies.

ramkumars

Programmer
Aug 2, 2001
31
0
0
IN

Hi,

I have a VC COM dll which is being referenced from a VB addin. The COM dll and VB addin communicate with each other with connection points. Now i want to debug the COM dll. how can i do this?

regards,
Ramkumar
 
put breakpoints in your .DLL. Launch the .DLL in Debug Mode and VisualStudio will ask you to attach the .DLL to a process. Browse the process what yse your .DLL com object and work like you work with a simple .EXE.

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
In this situation, there is no need to attach the .DLL to a process, this techniques is often used for Services.

Set breakpoint at desired position, run COM DLL normally in Debug mode( press F5 ), run your program that uses COM DLL, the program will break at breakpoint.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top