help wanted from Windows and Mac experts...

Lubomir I. Ivanov neolit123 at gmail.com
Sun Oct 28 15:43:28 PDT 2012


On 28 October 2012 06:21, Dirk Hohndel <dirk at hohndel.org> wrote:
> This is especially true for the Uemis Zurich - it shows up as a USB
> drive with the name UEMISSDA. I know how to figure out the correct mount
> point on Linux and Mac (at least I think so - we'll know once more
> people try the code I wrote), but I can't figure out how to do that on
> Windows. There must be a reasonably straight forward way to get the
> right drive letter for a USB drive of that name... maybe my Google foo
> was lacking today, but I couldn't figure this out. Help appreciated.
>

i guess, i could try helping out with that.
so DCs support both USB and COM ports?

if so this will mean that we have to go trough the list of USB drives,
find any known labels such as "UEMISSDA" (from a static table) add
them to the combo. then also grab the list of COM ports from the
registry and add them as well.

such lists will look like:
H:\ (UEMISSDA)
COM1
COM3

is this the correct logic?
i already have test code that does the above, but hopefully a single
combo box with multiple device types will not be confusing.

lubomir
--


More information about the subsurface mailing list