I was getting this error when I accidentally did the following (in varisous 
sections of code):

DmQueryRecord
..
DmCloseDatabase
MemHandleFree of DB Record (this was the bad thing)
..
DmQueryRecord  (got NULL record)
..
DmCloseDatabase
MemHandleFree of DB Record (this generated the error)

JamesS
In article <[EMAIL PROTECTED]>, "John Lai" <[EMAIL PROTECTED]> wrote:
>Hi,
>
>Has anyone experienced this error?
>
>Case 1:
>
>For better illustration, a DB has 3 records like
>{"ada", "123"}
>{"ben", "632"}
>{"cat", "548"}
>
>When I want to display following in a list
>ada
>ben
>cat
>
>I modify the code from 
>http://www.palmos.com/dev/support/docs/recipes/lists.html#dynamic
>it can display the items....but after that, when I click any button, the 
>fatal error occurs.
>
>Case 2:
>
>This time, I display the names of databases inside Palm, NOT records in a 
>DB. It works and no fatal error.
>
>So, I think, is it related to the use of memory handle / pointer?
>
>P.S. I use Palm Tungsten T.
>
>Please help,
>John
>
>_________________________________________________________________
>Linguaphone :  Learning English? Get Japanese lessons for FREE 
>http://go.msnserver.com/HK/30476.asp
>
>

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

Reply via email to