[Elecraft] K3 Firmware Updater under Linux / Wine
Dick Dievendorff
dieven at comcast.net
Mon Jan 28 02:21:32 EST 2008
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: elecraft-bounces at mailman.qth.net
[mailto:elecraft-bounces at mailman.qth.net] On Behalf Of Simon Brown (HB9DRV)
Sent: Sunday, January 27, 2008 2:58 PM
To: elecraft at mailman.qth.net
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" <julian.g4ilo at gmail.com>
>>
>> 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: Elecraft at mailman.qth.net
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
More information about the Elecraft
mailing list