Martin, I was having the same problem that your. It seems you make a "resource" to work-around this problem... Can you tell me how you solved the problem??? Can you post your code???
Thanks, Lucas > Hello all! > > Can someone please clarify the FrmRemoveObject issue a little? Which OS > versions are known to have a buggy implementation? I would like to > write my own bug-free FrmRemoveObject function, but I don't want to use > it in OS versions with a corrected implementation or > may have changed. > > As far as I know, the bug was introduced way back in 3.0 (?), fixed once > in 3.5 and fixed for good (?) in 3.5.3. However, OS 4.0 was introduced > before the 3.5.3 update -- does this mean that OS 4.0 contains a buggy > FrmRemoveObject? > > Some background information: I'm working on an application which has a > dynamic UI. Objects are created programmatically and may be removed in > any order. However, the FrmRemoveObject function is unreliable, and may > crash if any object is removed except for the last one. Our studies > indicate that FrmRemoveObject only crashes when the size of the > FormType* block is odd, and our current work-around is to resize the > pointer if necessary before we call FrmRemoveObject. However, pointers > can't always be made larger, and so the MemPtrResize function will at > some point in time fail, and FrmRemoveObject will crash. > > --Martin > > Martin von Weissenberg +358-400-314159 www.handwise.com For every > proverb there is an anti-proverb. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
