OnBoardC is a fabulous tool but in order to save memory all systraps definitions have not been defined it the standard onboardheader.h file
if you encounter this kind of problem the solution is to manually add the systrap definition in your source code (this is written somewhere in the doc...) so add the complete definition, you can find it in the includes provided with the sdk void LstSetDrawFunction (ListType *listP, ListDrawDataFuncPtr func) SYS_TRAP(sysTrapLstSetDrawFunction; -- Laurent THALER http://lthaler.free.fr mailto:[EMAIL PROTECTED] >Subject: Does LstSetDrawFunction exist? >From: Wade Guthrie <[EMAIL PROTECTED]> >Date: Sat, 03 Nov 2001 22:09:28 -0800 >X-Message-Number: 30 > >Hi, > >I've been programming with OnboardC v1.008 and have gotten errors that >lead me to believe that the 'LstSetDrawFunction' function may, in fact, >not exist. While I've seen it in sample code and in documentation, I >can't seem to get my code to link to it on my Palm IIIc running OS 3.5. >I've fashioned the following (merely as a test -- I know that it doesn't >do anything)... > > extern void LstSetDrawFunction (ListType *,ListDrawDataFuncPtr); > ... >What am I doing wrong? > >-- >Wade Guthrie | >[EMAIL PROTECTED] | >http://members.home.net/guthrie1/ | -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
