Hi,

I have an application that creates alarms. I am in the process of making it
restart the alarms after a system reset. I am handling the
sysAppLaunchCmdSystemReset event. I realize that no global variables are
available but I when I call my deepest function and do the following

static ULong CalcNextAlarm( int *piTikTok )
{
    t_TikTokPrefs ttLocalPrefs;
    ULong         ulNext     = 0L;

    // note that this code has been stripped to the bare min.

    *piTikTok = -1;
    
    PrefGetAppPreferencesV10( TT_APP_ID, 1, (VoidPtr) &ttLocalPrefs, sizeof(
ttLocalPrefs ) );

    return (ulNext);
}

I get this message from the Palm OS Emulator:

"During a regular checkup, Poser determined that the dynamic heap chunk with
header address 0x0001A700 got currupted. The size of the chunk (%chunk_size)
was larger than the currently accepted maximum (%chunk_max).

What is happening here?

BTW, I am using POSE 3.0a2 with the Palm IIIx debug ROM.

Thanks,

Mike McCollister

Reply via email to