MSDN documents that function as being available on Windows 2000 and up. I'm supporting Windows 98 SE. YMMV
I'm using exactly the technique that the .Net frameworks uses, for similar reasons. Dick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simon Brown (HB9DRV) Sent: Sunday, January 27, 2008 2:58 PM To: [email protected] Subject: Re: [Elecraft] K3 Firmware Updater under Linux / Wine The very best way to determine the list of COM ports is to use GetDefaultCommConfig(). If you can get info, it exists, that's it. There are more advanced solutions, these require functions in SETUPAPI.DLL such as SetupDiEnumDeviceInfo() and is not for the faint of heart. With this interface you can get all the information shown in the Device Manager applet including drivers and physical location. Don't dig in the registry, this is not recommended, especially when documented interfaces exist. Simon Brown, HB9DRV ----- Original Message ----- From: "G4ILO" <[EMAIL PROTECTED]> >> >> The Windows K3 Utility, like many Windows programs that obtain the >> machine's >> inventory of serial ports, enumerates the registry values under >> HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM. >> > Yep, that's the way I did it, too. That registry key does not exist under > wine, and attempts to manually create it result in an error message. > _______________________________________________ Elecraft mailing list Post to: [email protected] You must be a subscriber to post to the list. Subscriber Info (Addr. Change, sub, unsub etc.): http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/subscribers.htm Elecraft web page: http://www.elecraft.com _______________________________________________ Elecraft mailing list Post to: [email protected] You must be a subscriber to post to the list. Subscriber Info (Addr. Change, sub, unsub etc.): http://mailman.qth.net/mailman/listinfo/elecraft Help: http://mailman.qth.net/subscribers.htm Elecraft web page: http://www.elecraft.com

