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/

Reply via email to