"DBC User" <db*****@gmail.comwrote in message
news:b5**********************************@w40g2000 hsb.googlegroups.com...
Hi all,
I would like to know is there a way to find out if any named pipes are
running in a box. How can I go about doing that? Or is there a way to
find out if a particular named pipe already running?
CreateFile with the device path to the pipe and OPEN_EXISTING should tell
you whether it exists or not (you'll either succeed, in which case it
existed, or fail with access denied, in which case it existed, or fail with
file not found, if it didn't exist).
>
Thanks