on 01.8.28 8:41 PM, Osamu Shigematsu at shige@... wrote: > BTW, is there anyone who had created application framework with "Carbon > Event Manager"? > > I'm now trying. I also looking for the way to handle FB's string in > CFString, insted Pascal String. (I could not understand FB's string stack > imprementation...) I'm now checking "Ultra Lite" Runtime code. I found (may be) a bug in it. The "gFBStrStk&" is used as global pascal string buffer (stack style data chunk) and it will be initialize in FN FBCoreInit and allocated Mac Memory Manager's memory block with NewPtr() Toolbox. But it's never released. (I konw that it will be released with OS when quitting the App) I searched all runtime codes with Mgrep App (multibyte-aware grep application by Hideaki Iimori. It's really cool. Check it out at http://www.bekkoame.ne.jp/~iimori/ ), but there is no line "DisposePtr(gFBStrStk&)". I also wondering there is no vector to cleanup runtime. How, and When should I release my resources such as gFBStrStk&, to terminate app safety? TIA. -- Osamu Shigematsu http://www.ravi.ne.jp/ mailto:shige@...