try calling FrmDrawForm() before setting the label.
-tom bulatewicz
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of George
Henne
Sent: Tuesday, May 30, 2000 10:35 AM
To: Palm Developer Forum
Subject: Bus Error on CtlSetLabel
We're getting a Bus Error on the following statement when running on POSE
3.0a4, using the OS 3.5 debug ROM.
CtlSetLabel((ControlType*)(FrmGetObjectPtr(frmPtr,j)),(char*)(thisObjPtr->d
ataPtr));
However, it runs fine on an actual Palm device.
The values of the argument appear to be correct, but there's obviously
something wrong.
We've been beating our heads against this for a few days, and we're
getting nowhere. Anybody have ideas?
George Henne NS BASIC Corporation
http://www.nsbasic.com Orders: 416 264-5999 Fax: 416 264-5888
--
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/