Hi Kapil,
   The rectTable parameter that you are passing to TblGetBounds
(listTblPtr, rectTable) is an unallocated pointer. You have to 
declare rectTable as a "RectangleType"(not RectanglePtr) 
Change your code as below,

RectangleType rectTable;

TblGetBounds (table, &r);   /* here you are passing the address of 
                             the RectangleType*/


this will work without any problem

Thanks,
   Manikumar K

-------------------------------------------------------------------
Developers' Nation
You've got the questions; we've got the answers.
Visit Us At :http://www.devnation.net for Palm Developer Support
--------------------------------------------------------------------



--- In [EMAIL PROTECTED], "Kapil Konde" <[EMAIL PROTECTED]> wrote:
> Hi All,
>               I am trying to get the bounds of the table in the 
form by using
> 
>       TblGetBounds(listTblPtr,rectTable );
> 
> But it gives the error that application has just wrote in the low 
memory.
> Can anybody please tell me why is it happening and how do I 
overcome it.
> 
> Regards,
> Kapil.
> 
> 
> -- 
> 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/

Reply via email to