CreateFile problem (with patch)
Sorry, this time with patch attached Hello, i have a program that trys to open the serial port with CreateFile() like this: Call kernel32.CreateFileA(00422f7c .\\COM1,c000,, ,0003,0080,) The function call fail with current CVS. After debugging some time i found a fix for the problem. But my knowlodge of the CreateFile function an all its different usages is verry limited. Therefore i post the patch here for comment. Bye Stefan --- ../wine/files/file.c 2004-03-10 18:06:34.0 +0100 +++ files/file.c 2004-03-11 22:12:01.0 +0100 @@ -354,7 +354,7 @@ } goto done; } -else if (!RtlIsDosDeviceName_U( filename )) +else if (!RtlIsDosDeviceName_U( filename + 4 )) { ret = VXD_Open( filename+4, access, sa ); goto done;
Re: CreateFile problem (with patch)
Stefan Leichter wrote: Sorry, this time with patch attached You need to send patches to wine-patches. Tom
Re: CreateFile problem (with patch)
Tom schrieb: Stefan Leichter wrote: Sorry, this time with patch attached You need to send patches to wine-patches. Quote from OP: different usages is verry limited. Therefore i post the patch here for comment. I thought that is what this list about: discussion about development?!
Re: CreateFile problem (with patch)
Christian Britz wrote: Tom schrieb: Stefan Leichter wrote: Sorry, this time with patch attached You need to send patches to wine-patches. Quote from OP: different usages is verry limited. Therefore i post the patch here for comment. I thought that is what this list about: discussion about development?! Oh sorry, I must of over looked that you were posting for discussion about your patch and not for inclusion... Tom