At 22:56 02/03/2002, you wrote:

>In what follows, the "chP = ..." assignment is OK but the "ch = ..."
>assignment brings up a Pose error message that I am accessing the system 
>globals. I wonder if anyone could explain this to me. What's the point of 
>CtlGetLabel() if we can't work with it?
>
>#####################################################
>ControlType * ctlP = ...;
>Char ch;
>Char * chP;
>
>chP = (Char *) CtlGetLabel (ctlP);
>ch = *chP;
>######################################################

Before blaming CtlGetLabel(), did you check that

-  ctlP != NULL and refers to a control that has a label?

-  chP != NULL ?


      Gert-Jan

-----
"In the future, it will be illegal to threaten yourself,
  and the penalty for doing so will be death"
     - The Dilbert Future


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

Reply via email to