Ahh - you are using the "expanded mode" project type
(PalmOSRuntime_Xi_A4A5.lib) - instead of standard 68k application
(PalmOSRuntime_Xi_A5.lib). I will give this a try - but it takes some
time to remove globals to enable the expansion mode. grmp.
Anyone has a similar case (standard 68k within multi-segment code
running on non "sysAppLaunchCmdNormalLaunch"-cases)?
BTW: I am also using the latest 9.3 CW.
Neil Whitworth wrote:
Which version of CW do you have.
We have done this successfully with CW 9.3.
__LoadAndRelocate__() should not access globas.
Our start up code looks like this:-
_CW_SetupExpandedMode ( );
if ( !(launchFlags & sysAppLaunchFlagNewGlobals) )
{
SysAppInfoType *appInfoP = NULL;
SysAppInfoType *rootAppInfoP = NULL;
appInfoP = SysGetAppInfo(&rootAppInfoP, &appInfoP);
/* Relocate multi-segment applications */
MTWK::__LoadAndRelocate__(true, appInfoP->codeH);
}
--
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
Ralf Dietrich www: http://www.envicon.com
envi.con KG mail:[EMAIL PROTECTED]
Emser Platz 2 Tel: +4930-34902670
10719 Berlin/Germany Fax: +4930-34902671
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/