Debugging COM written for .Net called by application written for Win32

  • Thread starter Thread starter Konrad Kataneksza
  • Start date Start date
K

Konrad Kataneksza

Hi,

I have written COM in C#. This COM is called by an application written in
Delphi 5. I want to be able to debug my COM when it is called by mentioned
application.
MS Visual Studio runs application properly but when COM is called MS
Visual Studio reports unhandled exception and closes.

What should I do to be able to debug COM called by application written for
Win32?

Best regards,
Konrad Kataneksza
 
You should be able to attach to the process and debug it. I am not sure
about this but I think that process is going to be dllhost.exe. Anyone know
for sure? Its been a while since I have done this. Attach the debugger to
that process and set breakpoints in your COM code, VS Studio should break
there and allow you to inspect and step through.

Alex
 
Back
Top