I have this code on a button:
SerReceiveFlush(refno,1);
error=SerReceiveWait(refno,sizeof(data),-1);
error=SerReceiveCheck(refno,&numBytesRestantes);
if (numBytesRestantes>0) {
ULong numBytes;
numBytes=SerReceive(refno,data,numBytesRestantes,0,&error);
FrmCustomAlert(Serie2Alert," "," ",NULL);
}
when I push this button,i get a fatal exception.why??
which are the causes of a fatal exception??
is in this list any people from spain??
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/