Re: Debugging thru AxHost



1. I created a test VB6 Ocx control with create symbolic debug info
and disabled optimizations.
2. Register the control using regsvr32
3. created a test VB.net application & hosted the registerd control in
the form enabled the Unmanaged code debug.
4. Ran the VB6 ocx application
5. Then ran the VB.Net application

It hangs it won't go the break point i have set in the VB6 ocx
control.


If it really hangs, break into debugger and check what it is doing.
If it works but does not hit breakpoints in VB6 code, open Modules window
and check if the ocx is loaded, and if its symbols have been loaded.

Oleg




.



Relevant Pages

  • Re: Debugging thru AxHost
    ... Register the control using regsvr32 ... created a test VB.net application & hosted the registerd control in ... Ran the VB6 ocx application ... I found the way to opne the Modules window. ...
    (microsoft.public.vsnet.debugging)
  • Re: Debugging thru AxHost
    ... Register the control using regsvr32 ... created a test VB.net application & hosted the registerd control in ... Ran the VB6 ocx application ... How to open or enable Modules window in VS 2005. ...
    (microsoft.public.vsnet.debugging)
  • Re: Refresh IE
    ... > Without calling unmanaged code, you can use the COM Microsoft Internet ... > Controls library to create an IE instance and control it. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Troubleshooting a GC Collection?
    ... The acrobat control is on a dedicated form. ... AssemblyLoad event and log when all referenced assemblies are loaded). ... > problem without any unmanaged code. ... > Animated vector graphics system ...
    (microsoft.public.dotnet.framework.clr)
  • Re: Refresh IE
    ... Without calling unmanaged code, you can use the COM Microsoft Internet ... Controls library to create an IE instance and control it. ...
    (microsoft.public.dotnet.languages.vb)

Loading