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

Debugging a VB6 ActiveX DLL

Status
Not open for further replies.

glennrose

Programmer
Aug 9, 2006
2
US
First off, I apologize in advance if this is an obvious one.

I have written an ActiveX DLL in VB6. It is used in both code written in VB6 and VB.Net. Now, I need to debug the DLL code. I cannot include the code that calls the DLL for reasons too long to get into. What I want is to launch my DLL in VB6 and be able to step through it when the other code (no preference for version) calls it.

I have done this in the past, but have no recollection of how.
 
Create a Project Group containing the code that uses the DLL as the main project and the Project for the DLL as the second project in the group. You should then see both the main project code and the DLL code executing in the IDE.

You can't really "... launch a DLL ..." only something that uses it which will in turn, activate the DLL.
 
i like to make a project group like golom said execept the other project in the group is just a standard EXE... I draw a single button on the Form1 and then create an instance of my object and test it in the click event of the button.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top