> Hello!
>    I want to use the serial port for communication.
>    I use the New Seirial Manager. If I call the 
> "OpenSerial()", when I build the project I get this error: 
>    Link Error: PalmOs_Startup.cpp:  '_Startup_' 16-bit code 
> reference to 'PilotMain' is out of range.
>    I really do not know how to deal with it!
>    Please advice me on this matter.
>    Thanking you in advance

This type of error is usually due to a jump instruction to an address
that lies beyond the normal address range. One way to avoid the error is
by adjusting the type of memory model that you are using within the
project. However, it is recommended that you use the small memory model
whenever possible. Therefore, try rearranging your source files in the
link order first.

If this is an application that contains multiple resource segments, make
sure that you have the runtime library in the first segment.

Vinu

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

Reply via email to