I am writing a program for Windows 95 which takes joystick input and sends data about the joystick across the serial port. My data gets there all in one piece, but my program causes the computer to crash practically constanty. I have isolated the problem down to the WriteFile call in which a 32 to 64 byte string is sent. I have tried sending the data using the OVERLAPPED stuff and without it. I can't get it to work. Please help.