The compiler errors are type casting errors
instead of: recText = (MemHandleLock(recHandle));
try: recText = (CharPtr) (MemHandleLock(recHandle));
I' haven't seen the linker error. Your resource fork could be missing or in
the wrong directory. (CW uses 2 files for resources, the resource file
stored in the resource.frk directory and a file that points to the resource
file)
----- Original Message -----
From: "Jay" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, April 30, 2001 10:06 AM
Subject: Newbie...
> Hi, I'm getting probs compiling my appli. I have a linking prob, and
> also in my "appli.c" file, I always get errors like 'illegal implicit
> pointer conversion', unless I cast my return variables , e.g
>
> Error : illegal implicit conversion from 'void *' to
> 'FieldType *'
> Palm0904.c line 235 return(FrmGetObjectPtr(frm, focus));
>
> Error : illegal implicit conversion from 'void *' to
> 'char *'
> Palm0904.c line 407 recText = (MemHandleLock(recHandle));
>
> and the link errors after casting are:
>
> "Link Error : Error while creating/copying resource fork.
> Project: pal1.mcp, Target: palm09041"
>
> etc...
>
> Is it because of wrong #includes or #define or is the problem
> elsewhere.
> Thanks.
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/