Basically, From the segment tab, just choose add segment, give it any name,
and then drag some files from the first segment to the second one, so that
neither should total more than 32K. What you should know, is that any
functions that are called when the globals are not available, like alarms,
must be in the first segment.
LionScribe


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paul
Groschen
Sent: Thursday, September 04, 2003 8:45 PM
To: Palm Developer Forum
Subject: Re: Link Error AppHandleEvent


I'm new to segments. Are they in 64K blocks? Do you have an example or
literature I can read. I see the segment tab in my project but I'm not sure
what to do with it

Thanks
Paul


"LionScribe" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> With CW9 it's so easy to use segments, so just segment it up.
> LionScribe
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Paul
> Groschen
> Sent: Thursday, September 04, 2003 2:20 PM
> To: Palm Developer Forum
> Subject: Link Error AppHandleEvent
>
>
> I am getting the error "Link Error : Starter.c 'AppHandleEvent' 16 bit
code
> reference to 'CleaningRecordFormHandleEvent' is out of range"
>
> Can I change the order of linking to fix this? I am using Codewarrior 9
with
> constructor for Palm v1.8
>
> switch (formId)
>    {
>    case MainForm:
>     FrmSetEventHandler(frmP, MainFormHandleEvent);
>     break;
>    case CleaningRecordForm:
>     FrmSetEventHandler(frmP,CleaningRecordFormHandleEvent); //set event
> handler
>     break;
>
> ... I have 20 forms in this case statement
>
> Thanks
> Paul
>
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/
>
>
>
>



--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to