"Seonhong Ahn" <[EMAIL PROTECTED]> wrote in message
news:63024@palm-dev-forum...
>
> I have tried to compile the source written with Prc-tools in
CodeWarrior7.0.
> I have install the PilRC plug-in in CodeWarrior.
> So, I got UI.r file..
>
> but, One type of error occurred in a file...
>
> Error : illegal type
Your recP is defined as a MemPtr, which really is a void *. Its illegal
to add an integral value to a MemPtr, since void has no size.
Since it looks like you're adding the size in bytes, you should change
the line to read:
imageP = (char *)recP + sizeof(MovieFrameType);
This casts recP to a pointer to character and adds the size of
MovieFrameType, which should succeed. Finally, the expression converts
back to a void * due to standard conversions.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/