Hi all,
i am trying to write a serial port routine to send some
data. Using MW5 and the latest emulator on a win95 
machine.

basic code is.... minus error checking..

err = SerOpen(SerialPortRef, 0, 9600); 
byte_check = SerSend(SerialPortRef, message_string, byte_count, &err);
err = SerSendWait(SerialPortRef, -1); 
SerClose(SerialPortRef);

This all happens on a button press event.
Looking at what it sends on a oscilliscope you see 3 low going pulses but 
no data. 

If I put a break point in after the SerSend then it works fine.
If it seems to be losing the last couple of bytes.
(Doesn't seem to work on the Palm III either) 

Any ideas what I am doing wrong?

Regards
Peter Mcalpine
[EMAIL PROTECTED] - www.ozemail.com.au/~petermca
[EMAIL PROTECTED] - www.gme.net.au
www.wrx.org.au



Reply via email to