>I have a form that I display in my program at various points that is created >completely dynamically. For the most part it's pretty basic, just a field >and ok/cancel buttons. However there are certain instances where I create >the form and I get an "Invalid Chunk Ptr" error on my second or third call >to CtlNewControl. > >Does anyone have any ideas about things that might cause this?
Whenever you create a new control, you have to get a new pointer to the form because the form chunk may have changed. Are you doing that? Regards, Steve Mann -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/