[Wine] Re: COPILOT Glucose Meter COM problem

vitamin wineforum-user at winehq.org
Fri Nov 11 14:42:34 CST 2011


williambuell wrote:
> 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.



williambuell wrote:
> [System\\CurrentControlSet\\Control\\Class\\ .... lots of numbers
> @="Ports (Com & Lpt)"
> "Class"="Image"
> 
> AND I SUSPECT that if I add something here e.g. "COM1"="COM1"
> "COM2"="COM2"
> 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.


williambuell wrote:
> This may be another place to add COM1 lines
> win.ini
> 

Doubt it's your problem.







More information about the wine-users mailing list