DmWrite calls DmWriteCheck to ensure that the certain conditions are true
before attempting the write. It checks for all the normal things one would
imagine (zero size chunk, bounds overwrite etc). If you are calling DmWrite
in your code check that it is passing sensible values through.

Are you storing the value of the selection in a db record? Maybe you are
writing over the end of it?

Gavin.

-----Original Message-----
From: l e s s [mailto:[EMAIL PROTECTED]]
Sent: Friday, 21 December 2001 3:16 PM
To: Palm Developer Forum
Subject: DmWriteCheck failed error


Hi
I was hoping someone out there has seen this fatal error before:

DataMgr.c, Line 7025, DmWrite: DmWriteCheck failed.

I've checked all over the internet and the most I could find was reference
to DmWrite and DmWriteCheck in the PalmOS API doc.

The application this applies to is a search form...some of the selections
in the drop down menus in the form are quite long..with the text
stretching off the screen. If I submit the form to try to search with one
of these long text options selected, I get this error and the palm
crashes. It doesnt seem to be able to handle selections that do not fit in
the screen. This is quite limiting for the application so I was hoping
there was a way around it...?

does anyone have any ideas???? thanks so much..

leslie


-- 
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