I'm converting my code to run in expanded mode for CW8.3. I read Ben's white paper and found the Palm function wrappers in the "ThunkPalmOS.h" header file that take care of the thunks. E.g.,

Err DmQuickSort(DmOpenRef dbP, DmComparF *compar, Int16 other)
{
_CW_CallbackThunk thunk;
_CW_GenerateCallbackThunk(compar,&thunk);
return DmQuickSortNoThunk(dbP, (DmComparF*)&thunk, other);
}

The problem I'm having is the compiler isn't finding the "NoThunk" functions and I can't find them in my CW installation. I'm sure I'm not understanding something.

Thanks,
Rich

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

Reply via email to