Where are you calling SrmReceive or SrmReceiveWait to get your data from the serial port? You have to call one so you can post the received data. Also check the variable you use to receive the data, make sure you append a NULL or initialize it with NULL before calling SrmReceive.
----- Original Message ----- From: "Akhil Bhandari" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, October 04, 2002 5:09 AM Subject: Serial Buffer Problem I presume ...pls help > > > Hi All, > > The following the code snippet for my open > serial, close serial and write serial, it works > absolutely fine for some time and after 4 to 5 writes > it shows some old values , some values, I mean say very > wired data, can pls tell me where I am going wrong.I > have increased the size of the buffer too.I have done > SrmReceiveFlush and SrmSendFlush also. > > pls go through the code below....................I more > thing when I comment out WinDrawChars() all Srm > functions doesn't seem to work. > > Thanks n Regards > Akhil > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
