Andre Augusto wrote:

Hello everybody!
....
but I get a compiler error that says:
"Link Error: Helpdesk_PDA.cpp: 'AppHandleEvent(EventType *)' 16-bit code reference to 'LoginFormHandleEvent(EventType*)' is out of range."





Hi Andre

This looks like a simple segment issue, from now this issue will became common as your code will grown and it is very easy to solve in Codewarrior:

I assume that you are using a CW 9 or later:

Go to your 'Segments' tab:

in your specific problem.. try to put (drag) the HelpDesk_PDA.cpp closer to the LoginFormHandleEvent module (or vice-versa) as they looks to be very far (out of range) in terms of segment range (64k limit)

if this do not helps, create new Segments if needed at "Project>Create Segment" and rearrange your project and try to drag some of your files to rearrange the files in segments.

It is normal that after you drag one module, you get another or several other link errors.. dont be in panic. just continue dragging and in some minutes it will compile after some drags here and there ;-)

hope this helps./

qualquer coisa avisa  ;-)

abra�os

Erico Franco

MicroMagic Visit our PalmOS forums at: http://forums.micromagiclabs.com



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

Reply via email to