From: "Robert Moynihan" <[EMAIL PROTECTED]>
> (char*) s = CtlGetLabel(GetObjectPtr(ReadyButton));
>
> ... that might get rid of your error message, but might not solve the
> problem that you are asking about.
>
How on earth is this going to make any difference? Aside from
the questionable approach of trying to eliminate a warning rather
than fix the underlying problem, how would casting a variable
defined as char * to char * change anything.
And if you meant to cast the function return value:
s = (char*) CtlGetLabel(GetObjectPtr(ReadyButton));
then you're going to produce exactly the same warning since
that conversion is what the compiler is currently complaining
about (AFAIK you can't cast away a const declaration).
Or did I miss something about your suggestion?
I guess one of us is still getting up to speed again after the
holidays :-)
Chris Tutty
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/