http://bugs.winehq.org/show_bug.cgi?id=59272 Maotong Zhang <zmtong1988@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zmtong1988@gmail.com --- Comment #1 from Maotong Zhang <zmtong1988@gmail.com> --- The COM1 registry can be set directly: Run "wine regedit" and set: HKEY_LOCAL_MACHINE\Software\Wine\Ports COM1 /dev/ttyUSB0 Then run "wineboot". A symlink will be created in the dosdevices directory: com1 -> /dev/ttyUSB0 I tested it following your steps. I wrote a test program that calls: CreateFile("\\\\.\\COM1", GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL); It works fine when run from any directory. Example: WINEPREFIX=/xxx1/xxx2 wine /xxx1/xxx2/drive_c/test.exe Run it and see the results. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.