Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > How to enumerate serial ports under vista?

Reply
Thread Tools Display Modes

How to enumerate serial ports under vista?

 
 
Fred Hebert
Guest
Posts: n/a

 
      03-14-2007
I have an app that needs to know what serial ports are available. I
currently just open the registry key HKEY_LOCAL_MACHINE\hardware\devicemap
\serialcomm and get the port names. This has worked for years, but under
Vista it does not. I looked with regedit and the names are there but the
open key fails. I suspect it is some "enhanced" security feature...

As I said I have been using it for a long time because it worked, but
perhaps there is a better "recommended" way of doing this?

Does anybody know of another way?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial Ports and Vista John Germany Windows Vista Hardware 4 01-24-2008 09:05 PM
LocalSystem cannot enumerate domains on Windows Vista omar.estrada@gmail.com Windows Vista Security 0 05-28-2007 09:19 PM
Serial Ports in Vista? on.jolt@gmail.com Windows Vista Hardware 5 04-16-2007 04:28 PM
Serial Ports in Vista? on.jolt@gmail.com Windows Vista General Discussion 5 04-16-2007 04:28 PM
serial ports ? ralf Windows Vista General Discussion 2 02-08-2007 07:45 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59