Hi Martin,
I haven't tried the patch yet, but from Lawson's trace it looks like the completion routine for ReadFileEx is not being called.
Some notes: * the 16bit Comm code expects ReadFileEx to be unconditionally overlapped, and always call the completion function when the operation completes.
* the completion function starts another ReadFileEx, and sends a WM_COMMNOTIFY message to the 16bit app.
i had a look at you patch, but i haven't applied it yet, so it's difficult for me to see any problems... i'll have a go later today.
Mike
Original message from: lawson_whitney@juno.com
On Thu, 10 Jan 2002, Martin Wilck wrote:
..
I cannot test the serial comm code and must kindly ask somebody
else
to try that.
Martin
It doesn't bother my 32 bit app, but the 16 bit app is unable to initialize the modem. +comm,+file trace attached.
Lawson
------------------------------------------ mailto:Mike_McCormack@start.com.au ph +82 16 430 0425
__________________________________________________________________ Get your free Australian email account at http://www.Looksmart.com.au
Here are 2 small patches. Both apply on top of the patch I sent yesterday which started this thread.
1) fixes a bug that I discovered myself, 2) Adds TRACES to several functions to simplify debugging.
2) Is not meant for applying to CVS!!!
However, Lawson it would be nice if you produce a new trace with these two patches applied.
start your app with --debugmsg trace+file,trace+thread,trace+comm.
Regards, Martin