Season Greetings,

I am trying to get dynamic pop-up lists to show, but I am having some trouble. 
I can get the trigger to show, but when I click on it I get this error:
TestGen (unknown version) just read from memory location 0x00000000, which is 
in low memory.

"Low memory" is defined as the first 256 bytes of memory. It should not be 
directly accessed by applications under any circumstances.

Here is my code for the popup list:
  Char *c[5] = {"one","two","three","four","five"};
  Int16 stringCount = 5;
  ListType* list;

  CtlNewControl((void **)&frmNew,
        7000,popupTriggerCtl,*c,
    80,80,50,FntCharHeight(),
    stdFont,0,1);
  LstNewList((void**)&frmNew,8000,80,80,50,50,stdFont,3,7000);
  list = (ListType*)FrmGetObjectPtr(frmNew, FrmGetObjectIndex(frmNew, 
(UInt16)8000));
  LstSetListChoices(list, c, stringCount);
  FrmShowObject(frmNew, FrmGetObjectIndex(frmNew, (UInt16)7000));

Thank you and have a Happy New Year 
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to