Joe, I'll have to look into it some more. I have worked around the problem by changing when I allocate/deallocate the dynamic memory. You seem to be using the same version of Code Warrior that I am as well as the same version of POSE. I'm at a loss as to why the problem isn't duplicated on your system, could you send a copy of your Code Warrior project so I can complile it here. Maybe the problem is enviromental. Can you check which version of Code Warrior you are using as well as which version of the SDK. I would prefer to identify the problem and eliminate it if possible.
Thanks Richard ----- Original Message ----- From: "Joe Programmer" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Monday, November 19, 2001 6:10 PM Subject: Re: Bug? With creating Dynamic UI Controls > --- Richard Bell wrote: > > ... I would appreciate it if others would > > try this simple example and tell me if > > they can recreate the problem > > I pasted your code into a Metrowerks Starter.c app and > ran it through the debugger on CW 4.0.1.3, build 0654 > on POSE 3.3 on Win 2x with PalmOS40-en-color.rom and > it never crashed, no matter how many times i ran the > app. > > Then I did the same with Starter.cpp -- still no > problems. > > I have to concude that either your system is messed > up, or there is something else you aren't telling us. > > PS I made one change to your code. Since you didn't > declare error, I just removed "error=" from the line: > error=FrmRemoveObject (&frmP,obj1NDX); > > > __________________________________________________ > Do You Yahoo!? > Find the one for you at Yahoo! Personals > http://personals.yahoo.com > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
