Forum posts for dllhost.exe

Debugging COM+ in Delphi 2009 : the dllhost.exe /ProcessID does not work

I am writing a COM+ component in Delphi 2009 on Windows 8. (I will move on to XE3 soon but for now it's D2009).

I have had quite a few IDE freezes when debugging regular simple forms applicaitions, mainly when closing the application after having stopped in a breakpoint and continued running the following code, but other than that D2009 works fine.

Now, the problem I have is that I am unable to debug the COM+ component. A new instance of this component is created from another forms application. If I specify that form applicaition in the 'Run' options dialog of the project, it all works fine but no stop at the breakpoints in the COM+ object. I then found online about the way to debug by putting dllhost.exe in 'run' with '/ProcessID: GUID' in the parameters. I double checked everything and all I see when I hit F9 is 'Thread entered' then 'Thread exited' in the debug console. Still not stopping at any breakpoints which all show up as out of running scope.

How can I do it then please ?

Thanks !

View complete forum thread with replies

Other posts related to dllhost.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

Why cant I profile using vsperfmon by attaching to dllhost.exe?
How to monitor a process that launches “dllhost.exe”?
Out-of-Proc-COM-Server (x86): dllhost.exe looks in wrong registry path
generating dmp files from an inproc com dll running in dllhost.exe
dllhost.exe not available for debugging
Why do inetinfo.exe, dllhost.exe and aspnet_wp.exe all start under debugger on themselves an…
How to programmatically recycle a dllhost.exe process in COM+?
Debugging COM+ in Delphi 2009 : the dllhost.exe /ProcessID does not work
Dllhost.exe*32 is unable to release 32-bit resources during uninstallation on a 64 bit machine
debugging an inproc com server running in dllhost.exe
PrintTicket DllHost.exe Memory Climbs
How to launch COM server in separate dllhost process?

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.