Connecting Tech Pros Worldwide Forums | Help | Site Map

Debug VB6 ActiveX from VC++

John
Guest
 
Posts: n/a
#1: Jul 24 '06
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.

Michael Viking
Guest
 
Posts: n/a
#2: Jul 25 '06

re: Debug VB6 ActiveX from VC++


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

"John" <John@discussions.microsoft.comwrote in message
news:478E3886-1C6A-4157-9A25-063B16CC2DF0@microsoft.com...
Quote:
I have a VB6 ActiveX dll and it's called from a VC++ app. How can I debug
the
Quote:
dll through the app? Please help. Thanks.

Closed Thread


Similar .NET Framework bytes