On Wed, Feb 02, 2005 at 05:21:58PM +0000, Neil Whitworth wrote:

> Is there any way that I can create a multi-segment C++ application (in 
> CW 9.3) and still call code that is not in the first segment?

Don't know about CW.

> Can it be done in prc-tools?

In prc-tools, the bootstrap code that maps functions to segments uses
globals, so the answer is no.

> My app is growing past the 64Kb limit of a single segment, and must be 
> able to use all the code during a non-global launch.

For prc-tools, you could possibly re-implement the relocation code so
that it doesn't use globals. The code that does this is in the crt
directory and is in the public domain. I don't know if it's technically
possible to do it without globals.

-- 
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL

Dave is currently listening to Violent Femmes - Breakin' Up (New Times)

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

Reply via email to