Skip to content

Debug ActiveX control from C#

gajesh

Asked Jul 10, 2006, 2:10 AM EDT1 answer
Share
LinkedInX
Hi all,

I am using MFC - ActiveX control in C# based windows application.
I am not able to debug the control with the C# application while it is possible with the MFC applcation.

I want to call a function on buttton click event of windows application.
The function is in ActiveX control.

I have given the path of the exe in control also enabled the Unmanaged debugging in Windows application, but when i start debug it doesn't populate the exe, instead it comes out and ready for debug again.

Is it possible to do so if yes then HOW.

Thanks.

Gajesh
Pune(India)

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Mike Gold
    0
    You can do debugging in c++ if its a regular dll with mixed mode debugging if you have the source, but I don't think you can debug into a COM components source code from .NET.   .NET builds a wrapper around the ActiveX control and talks to the control through this wrapper, but the wrapper doesn't let you debug inside of it.

    Best,

    -Mike
    0