Hello,

I am porting a program from 16-bit Windows 3.1 to 32-bit WindowsNT. I converted all the code and had to rewrite all of the serial communication functions. Anyway, my problem is that when try to send a string over the serial comm port, only the first 2 chars are sent and then the program just stops. However, when I trace the code line by line, it all works fine (the whole string gets sent). Other than this problem, the rest of the program seems to be working just like it did on W3.1. Does anyone have any idea what the problem might be. It seems like the bug is in the serial comm functions, but since it works when I debug, I don't know how to check for sure. Any help would be greatly appreciated.

Thank you