I figured this one out. The culprit was the fact that gremlins never
actually exists the app. My app was beaming a database to itself (using
loopback) and the document list database gets updated by scanning when the
app starts. In this case, the scan didn't happen so my cardNo/dbid where no
longer valid.
This probably needs to be addressed in POSE. When an event occurs that would
normally cause the app to stop, POSE should really exit the app and relaunch
it. I am forced to have a special "gremlin" build of my app to patch around
these problems and that could be a problem and compatibility testing time.
Any chance of getting this addressed in POSE 3.0a9 Keith? In fact, it would
be great to have an option to allow the selection of 2 apps to run so that
we can better test how well our apps play with others.
Scott MaxwellQuik Sense Software
"Scott Maxwell" <[EMAIL PROTECTED]> wrote in message
news:33737@palm-dev-forum...
>
> In my doc editor, I am getting the size of docs by calling DmDatabaseSize.
> I am calling this once for each doc as I draw a list of docs on screen.
> Sometimes this blows up deep inside DmDatabaseSize with a message that
says:
>
> "Free Handle" at MemoryMgr.c, line 4359. This is on an OS3.5 English
color
> debug rom on POSE 3.0a8.
>
> The stack trace looks like this:
>
> DmDatabaseSize
> MemLocalIDToLocked
> MemHandleLock
> PrvHandleCheck
> ErrDisplayFileLineMsg
>
> Any clues would be greatly appreciated.
>
> TIA,
>
> Scott Maxwell
> Quik Sense Software
>
>
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/