Hi...
There are a couple of ways you can do this, both involve using calls from the Windows SDK.
1. Search through a list of the active Windows for a title that matches what you want.
2. Obtain a list of the processes that are running and look for the name that you want.
I wouls suggest option 2, as this is the easiest.
Since you are after procom, you can start this yourself manually, then list the processes running and identify the name that you will search for.
If you don't have the Windows SDK, then you can go to the web and use the help from there.
If I seem to recall correctly, if you do a search on Processes you will find some example code that actually gets a list of active processes. (Hence option 2 being the easiest). All you need to to do
is modify the example code to look for your 'Procomm' process name and say return a BOOL indicating as such.
If this has confused you more then helped you, I'll try and search out the example code for you and email you direct or post it here.
Let me know how you get on,
Chris