Re: SerialPort Class
- From: Germán Schuager <gschuager@xxxxxxxxx>
- Date: Tue, 8 Apr 2008 14:01:37 -0700 (PDT)
Hi,
Does your application stop or hangs?
I've experienced sudden stops (no exceptions) due to a memory leak.
I'd look for memory that is not being released somewhere.
Germán.
On 8 abr, 17:13, Aidan <Ai...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hello,
We are experiencing a strange problem. We have a thread that transmits and
receives ASCII from a remote device.
The basic flow is before transmitting we call DiscardInBuffer() and
DiscardOutBuffer(), we use the Write() method to send each character in a
buffer. The thread then checks the BytesToRead member and calls the Read()
method until a 'special character is received or a timeout elapses.
This process is repeated very 20 seconds. After a couple of days we get a
timeout whilst receiving...which could be due to the remote
device...granted...the strange thing is that after then calling the
Discard..() members the thread calls the Write() function and never returns
after the first call....an exception is not returned either....
Does anyone know if there are any issues with longterm operation of the
SerialPort class in CF 2.0 ?
Thanks in advance,
Aidan Browne
.
- Follow-Ups:
- Re: SerialPort Class
- From: Aidan
- Re: SerialPort Class
- References:
- SerialPort Class
- From: Aidan
- SerialPort Class
- Prev by Date: SerialPort Class
- Next by Date: Re: SerialPort Class
- Previous by thread: SerialPort Class
- Next by thread: Re: SerialPort Class
- Index(es):
Relevant Pages
|