I was trying to match a COM+ application name with a Process ID. What exactly are you trying to do? And what is tlist? Can I e-mail you about this instead of using the forum?
No, I don't need the module names. That wouldn't help me at all because remember that I am trying to match a PID with a specific COM+ Application. Many different COM+ applications can be running from the same EXE and DLL. In fact, what Ia m using this for is mainly for IIS Out-of-Process...
Ugh I am really off today.. why would I want to call GetCurrentProcessID in a process of which I already know the ID?? I of course meant GetCommandLine/GetCommandLineW
Thanks but I don't have access to the code at all. I'm not writing a COM+ component, I'm writing an administration utlity. Actually, I've found two ways of getting the process ID, or, more specifically, how to get the CLSID given a PID, by finding the command line of the application. The...
UPDATE: I just found a command line utility that will give the command line of any running process, given its ProcessID. Using the command line, you can see the switch given to DLLHOST.EXE which looks like this:
/ProcessID:{CLSID_HERE}
which can be matched up to the Key property of the...
I'm having the same problem. I'm trying to get the process ID for a COM+ Application. The ApplicationInstances opbject is only available with COM+ 1.5, which means only Windows XP or Server 2003, but Component Services in Win2K somehow gets the process ID anyway. I'm trying to do this through...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.