[Wine] Re: COPILOT Glucose Meter COM problem
wineforum-user at winehq.org
Fri Nov 11 14:42:34 CST 2011
> HKEY_LOCAL_MACHINE -> HARDWARE -> DESCRIPTION -> SERIALCOMM
> I have tried to add "COM1"="COM1" to that SERIALCOMM, and the add shows but then it disappears the next time I run REGEDIT.
Correct. That branch (LOCAL_MACHINE\Hardware) is a volatile branch - it's not persistent and exists in wineserver's memory only. This also means it's not being saved to disk.
> [System\\CurrentControlSet\\Control\\Class\\ .... lots of numbers
> @="Ports (Com & Lpt)"
> AND I SUSPECT that if I add something here e.g. "COM1"="COM1"
> then possibly my application might work and read the com port
> BUT I am not certain exactly what to add.
Modifying registry files directly on disk without using regedit is highly discouraged. Basically you break it you own it.
The mandatory warning aside, you are on the right track. Wineserver won't turn regular registry branch into a volatile if it already exists. Numbers mean last time modified. You can copy them from any other branch.
> This may be another place to add COM1 lines
Doubt it's your problem.
More information about the wine-users