🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #8376

Finding USB components in the registry

#8376
From: Marko Wichgers
Date: Thu, 04 Nov 2004 11:57
18 lines
1489 bytes
Hello,

I have connected a USB to RS232 converter to my USB port.
Now I want to read the matching COM-port from the registry.
In Windows-98SE and Windows-ME I saw the registry used by the  USB to RS232
converter is:

HKEY_LOCAL_MACHINE\Enum\USB......

But in Windows XP this is total different.

Can somebody help me, to write a standard procedure to read settings
belonging to the USB to RS232 converter from the registry, independant from
the window-version?

Thank you!

Marko
Technical Details
Message-ID: <418a1945@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,352a992c4c5c2055,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Marko Wichgers" <m.wichgers@nido.nl>
From: "Marko Wichgers" <m.wichgers@nido.nl>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Finding USB components in the registry
Date: Thu, 4 Nov 2004 12:57:53 +0100
Lines: 22
Organization: Nido Universal Machines B.V.
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 195.193.34.126
Message-ID: <418a1945@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1099569477 195.193.34.126 (4 Nov 2004 03:57:57 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail