Re: Com Port Usage

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I believe that it possible to call native API in VB too, but for sure in
C/C++ you can take example 2.1 "Listing Open Handles of a Process" ( you
need to enumerate processes and for each use that code from Chapter 2
"Objects, Object
Directories, and

Symbolic Links"

of
http://www.amazon.com/exec/obidos/tg/detail/-/1578701996/qid=1119971380/sr=8-1/ref=pd_csp_1/103-2932620-0659011?v=glance&s=books&n=507846

Arkady

"Lee" <Lee@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E40DDDBE-7641-42BE-8028-F8D4DFB710D4@xxxxxxxxxxxxxxxx
> Is there a way to determine which application(s) or processes have
> ownership
> of a serial port? I would prefer a VB solution if possible. It does not
> have
> to be .NET


.



Relevant Pages

  • Re: Com Port Usage
    ... (aware of wrap) ... Arkady ... >I believe that it possible to call native API in VB too, ... >need to enumerate processes and for each use that code from Chapter 2 ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Finding running processes
    ... I found a bit of code on the web by googling for +"enumerate processes" ... Ade ... Prev by Date: ...
    (comp.lang.basic.visual.misc)
  • Re: Make sure no running instances of MS Word?
    ... You can enumerate processes using PSAPI. ... > How to make sure no running instances of MS Word? ... Prev by Date: ...
    (microsoft.public.vc.atl)
  • Has anyone PInvoked the Toolhelp32 functions?
    ... I'm trying to use the Toolhelp32 functions to enumerate processes, ... specifically because I need to get the Parent Process ID of a specific ... Prev by Date: ...
    (microsoft.public.dotnet.framework.interop)