>> SerialBuffer::SerialBuffer (short bufferNr)
>> {
[quoted text clipped - 12 lines]
>
> Tom
Hi Tom,
You are right but it was a typing error, I have it in my code.
Besides, the exception I got is in the constructor, at startup.
Thanks a lot for your answer.
Any other clue ?
Droopy.
Vladimir Nesterovsky - 12 Jul 2005 19:23 GMT
> >> SerialBuffer::SerialBuffer (short bufferNr)
> >> {
[quoted text clipped - 10 lines]
> > If you use new[], you must use delete[]:
> > delete [] _buffer;
You can get an exception in the operator new if you have heap corrupted.
E.g. check that you do not set _buffer[16] = 0; :-)

Signature
Vladimir Nesterovsky
e-mail: vladimir@nesterovsky-bros.com
home: http://www.nesterovsky-bros.com