Did you open the database as read-only?. If so, try opening it as read-write

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2000 06:46
To: Palm Developer Forum
Subject: Resize Resource Problem


Hi All,

I have created a string resource with Constructor and I am trying to
resize it in my application using the following code snippet:

{
  resourceHandle = DmGetResource('tSTR', TesterString);
  resourceHandle = DmResizeResource(resourceHandle,
                      MemHandleSize(resourceHandle) +1);
  err = DmGetLastErr();
}

This always fails with the error 516 (dmErrReadOnly).  I guess my
application database has been opened as read only.  My question is
how can I change the mode of the application database to be writable?

Thanks in advance,
Andrew Wishart


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