"Nicholas Breau" <[EMAIL PROTECTED]> wrote:

> My application crashes on the following line of code, but this function is
> very simple, can anybody tell me what is going on ???
> 
> Nick.
> 
> TablePtr tableP = (TablePtr)FrmGetObjectPtr(frm, FrmGetObjectIndex(frm,
> PlotsTreeTable));

This is what debuggers are for :-)

Seriously, there is not enough here to go on. The code looks right, but 
we surely don't know what values those variables have. Whenever I have 
a problem like this, I rewrite the code so that there is only one OS 
call per statement, then step through the code with the debugger so I 
can see exactly what is going on.

--
Roger Chaplin
<[EMAIL PROTECTED]>

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to