From: gregarican Date: 2005-09-30T01:36:45+09:00 Subject: Re: Win32API question PWR wrote: > # Write to com port > WriteFile.Call(hFile,outbuff,outbuff.size,numwritten,overlapped_write);repo�rt > > > # The next call fails! > res = GetOverlappedResult.Call(hFile,overlapped_write,numwritten,1) Checking http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/getoverlappedresult.asp it appears as Windows 95/98/ME only accept the DeviceIoControl function opening up the session. You appear to be opening the session with WriteFile. What version of Windows are you using?