Concerning question one use: TMapFile::Print(). The reported Current breakval is the current memory upper limit. Also you can count the bytes used for all reported objects. For the keycode: you want them for terminal input or GUI use? Cheers, Fons. Valeriy Onuchin wrote: > > Hello Rooters! > > 1. I have objects of dynamic size allocated > in TMapFile. I need to know total size of > allocated memory in oder to prevent crashing > when this value will be larger than TMapFile::fSize. > How can I get this value? > > 2. How can I get keycode of special keys ( for example, > arrow keys) in system independent way? > (TGXW::KeysymToKeycode(UInt_t keysym) works only for ASCII symbols) > > Best regards. Valery. -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland Phone: +41 22 7679248 E-Mail: Fons.Rademakers@cern.ch Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:37 MET