[Wine] Re: Serial port woes SOLVED
CptDondo
yan at NsOeSiPnAeMr.com
Fri Jun 16 16:36:14 CDT 2006
CptDondo wrote:
> CptDondo wrote:
>> I am trying to get an app called GMWIN running. It installs and runs,
>> but it cannot communicate via the serial ports. It is a controller
>> for PLCs, and its purpose is to talk to PLCs via serial ports, so this
>> is essential...
>
> As a followup, I just downloaded and compiled cvs, and it made no
> difference... :-(
>
OK here's the deal:
Apparently whatever does the timeout thing for file IO is waaaay too
short-tempered.
I fixed the problem by preventing the fileIO from closing on timeout -
apparently forever, but who cares, it works.
Comment out the following lines in ./dlls/ntdll/file.c in two places:
// wine_server_release_fd( hFile, unix_handle );
// return STATUS_NOT_IMPLEMENTED;
and both USB-serial dongles and PCMCIA-serial cards will work.
YAAAY!
--Yan
More information about the wine-users
mailing list