Hi, i have a server accepting messages ... either directly from objects or passed over over a socket by clients. in first case the TBuffer is in write mode so i have to do a little magick: { m->SetBufferOffset(2*sizeof(UInt_t)); m->SetReadMode(); YarEx(m); m->SetWriteMode(); // without this line ~TMessage *fixes* // the fBuffer => exception in delete delete m; } is there a better way to do it? thanx ... cheers, matevz -- --------------------------------------------------- Matevz Tadel, E-mail: Matevz.Tadel@ijs.si Department of Experimental High Energy Physics F9 Jozef Stefan Institute, Jamova 39, P.o.Box 3000 SI-1001 Ljubljana, Slovenia Tel.: +386-61-177-3674 Fax: +386-61-125-7074 ---------------------------------------------------
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:31 MET