Hello, When I try to desallocate a TGTextBuffer, every time I get a segmentation violation This how a allocate the memory: fTextYmax = new TGTextEntry (fExtrema, fBufTextYmax = new TGTextBuffer (9), DUMMY) ; fExtrema->AddFrame (fTextYmax, new TGLayoutHints (kLHintsLeft|kLHintsTop, 0, 0, 0, 0)) ; fBufTextYmax->AddText (0, tmp) ; I did try several types of ordering, but it is always the same !!! -- --- ============================================================================== Patrick DUPRE | | Tel: (33 4) 76-88-78-51 CNRS/LCMI (GHMFL) | | Fax: (33 4) 76-85-56-10 25 Rue des Martyrs, BP 166 | | http://eschyle.polycnrs-gre.fr F-38042 GRENOBLE Cedex 09 | | email: pdupre@polycnrs-gre.fr ==============================================================================
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:22 MET