At 12:40 2002-10-15 -0400, you wrote:
>Hi, I just installed SDK 4.0 update 1 because I wanted to use the
>LstGlueGetTopItem() routine.  I'm using the latest version of Codewarrior.
>So I used the installer, added the header file to the project, and included
>LstGlue.h, but when I try to call LstGlueGetTopItem(list), I get the error
>"Link Error   : Car.c: 'LstGlueGetTopItem' referenced from
>'CarFormHandleEvent' is undefined."  Oddly there is no error saying, "can't
>open LstGlue.h". Is there something else I have to do to be able to use this
>function? Thanks.

You need to add the glue library to your project.  The compiler saw the 
prototype for the function fine, but the linker can't find the actual code 
for the glue function.  Just add the "PalmOSGlue.lib" file into your 
project, and you'll be able to link your application.

-- 
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com


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

Reply via email to