I am trying to send approx 80Kbytes of data out the serial port COM2 using WriteFile.
I have used writefile many times for sending only a few hundred bytes, but never a file this big.
The PC locks up completely. I cannot even use "ctl,alt,del" it just beeps.
Presently i send 10 bytes out with Writefile and then " Sleep(35); "
The 10x bytes only take 10msec to TX so the sleep for 35ms is to allow them out the com buffers.
I then purge the com port buffs with "PuregCom()"
i do not get any error msgs or pop ups, it just freezes.