Greetings all,
I am very new to Palm OS programming. I am required to work on a project that
requires the use of dynamic UI, so I am working through this slowly.
My first test at doing a new form causes a memory leak. I am not sure where the
prblem lies.
Here is the code:
-------------
UInt32 PilotMain (UInt16 cmd, void *cmdPBP, UInt16 launchFlags)
{
FormPtr frmNew;
char title[10];
StrPrintF(title,"%s","New Form");
frmNew = FrmNewForm (
1,
title,
0,
0,
160,
160,
true,
0,
0,
0
);
FrmDrawForm(frmNew);
return 0
}
------------
Any help will be well appreciated.
Thanks
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/