Santhosh,
Your answer is completely wrong. TblGetBounds is documented as taking
a RectanglePtr, and so that's what needs to be passed to it. Handles
to rectangles are not required or allowed.
Please see the response from Manikumar for the correct answer (except
that he defines a RectangleType variable called "rectTable", and then
passes the address of "r" to TblGetBounds, but the idea is correct).
-- Keith
At 10:59 AM +0000 5/16/01, santhosh wrote:
>Greetings Kapil
>
>The function call TblGetBounds returns the bounds in the
>RectangleType structure which is the second argument passed to theis
>function.
>
>Make sure you use pass a handle to the RectangleType structure not
>the raw pointer itself .
>
>I think this may be the cause for the "application has just wrote in
>the low memory." error
>
>Thanks
>Santhosh M
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/