Tim Trimble wrote:

>For example,
>the following code is quite standard.  However, the StrLen statement works
>the first time, but the second time it is called for the same form field, it
>causes a "just read directly from an unallocated chunk of memory" error.
>Any ideas?
The SetFieldText routine you put in your email looks fine. If the StrLen 
call is failing, then probably the CharPtr you're passing to SetFieldText 
is bad. Look carefully at every place you *call* SetFieldText, and make 
sure you've actually allocated space for the string you pass in.

Hope this helps,
Dave Johnson

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to