Hi! I'm getting a very strange error ONLY on the color debug ROM. I have the following global variables and code: #define debug_alert 4001 DmOpenRef my_db; UInt16 cardno; LocalID dbid; FrmAlert(debug_alert); my_db = DmOpenDatabase(cardno, dbid, dmModeReadWrite); FrmAlert(debug_alert); After the second FrmAlert, I get: MemoryMgr.c, Line: 4432 Free ptr Here's the really strange part: If I comment out the second FrmAlert, everything works fine. Or, if I run POSE with any ROM other than the color debug ROM, it also works fine. I know that CARDNO and DBID must have the right values, because if I just comment out the second FrmAlert, everything works as it should. "debug_alert" is defined using Pilrc as simply: ALERT ID debug_alert INFORMATION BEGIN TITLE "Debug" MESSAGE "Made it this far" BUTTONS "OK" END I like to try track down all such strange behavior, and never assume it's a problem with the debug ROM, but I'm all out of ideas. Does anybody have a clue what might be going on here? (I'm using GCC and POSE 30a5 with all error checks enabled if it matters.) TIA.... Tom -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
