SamCPP
2008-07-01 01:30:01 UTC
Hi,
I am trying to build a diagnostic utility for an application that I have
written in C++ (Win32). The application uses a COM port but on occasion, the
COM port may be locked by another application.
I can successfully retrieve all currently running PIDs (and their associated
image names) but is there any way to retrieve any open handles to COM ports
that they may have? The sysinternals program "handle" does not retrieve
handles to COM ports.
Thanks,
Sam
I am trying to build a diagnostic utility for an application that I have
written in C++ (Win32). The application uses a COM port but on occasion, the
COM port may be locked by another application.
I can successfully retrieve all currently running PIDs (and their associated
image names) but is there any way to retrieve any open handles to COM ports
that they may have? The sysinternals program "handle" does not retrieve
handles to COM ports.
Thanks,
Sam