sweet, thanks.
-m

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ben Combee
Sent: Monday, October 31, 2005 11:20 AM
To: Palm Developer Forum
Subject: RE: Large (Multisegment) application and non-global launch
codes


At 12:59 PM 10/31/2005, you wrote:
>Hi Ben -
>
>Thanks for the quick reply. However, I still don't see this function in 
>the 9.3 runtime sources, including PalmOS_Startup.cpp - I even reinstalled 
>CW this morning to be sure I wasn't missing something. It could be me, but 
>none of my colleagues can find it either. So...
>
>Is there some additional update that we need to install or something? Hm...

I've heard of people missing this too... I may have a different copy of the 
runtime on my machine since I wrote the code, but I thought I was using a 
stock 9.3.  I know the CW updater will often fail to update a file if it's 
different from the original.

#if SUPPORT_A4_CONST_GLOBALS && SUPPORT_JUMPTABLES_IN_A4

void _CW_LoadOtherSegments(Boolean loading)
{
     SysAppInfoType *appInfoP, *rootAppInfoP;
     appInfoP = SysGetAppInfo(&rootAppInfoP, &appInfoP);

     if (appInfoP->launchFlags & (sysAppLaunchFlagSubCall | 
sysAppLaunchFlagNewGlobals))
     {
         // other segments are handled by normal paths
     }
     else
     {
         _CW_Features *features = __GetCWFeatures();
         __LoadAndRelocate__(loading, appInfoP->codeH);
     }
}

#endif





-- Ben Combee, Senior Software Engineer, Palm, Inc.
    "Combee on Palm OS" weblog: http://palmos.combee.net/
    Developer Forum Archives:   http://news.palmos.com/read/all_forums/


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

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

Reply via email to