on 26/01/02 2:20, Eric at [EMAIL PROTECTED] wrote: > anyone can tell me what is the use of IntlDispatch? it does not return > result and have paramater? what is the function of it. I cannot search > it from the reference.
Usually, system calls use their own trap numbers. But since there are more and more system calls, the usual trick is to make only one trap entry for a number of system calls and to make a dispatcher which takes a "function number" to jump to the appropriate system function. This is what is done for Text Manager routines. All the text manager system calls are in fact compiled to IntlDispatch calls with an invisible (to you) parameter added which is a function code for the dispatcher function in IntlDispatch. -- Florent Pillet, Code Segment [EMAIL PROTECTED] PGP Key: D13C 6DD7 D0E2 7891 4AF9 0111 9514 4753 02F1 4D6D PowerGlot, the premier localization tool for Mac OS software -> PowerGlot Software http://www.powerglot.com/ Sync Buddy for Mac & PalmOS. FindHack, SymbolHack for PalmOS -> ...and other tools... http://perso.wanadoo.fr/fpillet/ BrainForest, outlines & action items for Palm, Mac & Windows -> http://www.aportis.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
