Debug VB6 ActiveX from VC++

G

Guest

I have a VB6 ActiveX dll and it's called from a VC++ app. How can I debug the
dll through the app? Please help. Thanks.
 
M

Michael Viking

When you build the VB DLL, go to the project properties, Compile tab and
select "No Optimization" and "Create Symbolic Debug Info" then build the
DLL. Then when you run VC, you can set break points (open up the VB file in
VC for this) and/or step into the VB code. On the VC side (at least in VC
6), I think you need to have the Options | Debug options OLE RPC debugging
enabled, too.

Michael Viking
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top