Clint Thayer wrote in message <4391@palm-dev-forum>...
>
>Sorry, I meant to say StrLen instead of StrCopy in my last message...
>
>so to fresh everyone on what code is messing up the CharPtr charRatio
>variable
>
><code>
>
>NewTxtRatioH = MemHandleNew(StrLen(charRatio) + 1);
>
></code>
>
>Do I need to do a lock on the CharPtr charRatio before making the call to
>MemHandleNew and StrLen? And how do you Lock a variable?
>
Can't really answer that unless we see the rest of the code.
before:
Where is charRatio declared? Where/how is memory allocated
for it? How did the data get into charRatio?
after:
What do you do with NewTxtRatioH?
--
-Richard M. Hartman
[EMAIL PROTECTED]
186,000 mi/sec: not just a good idea, it's the LAW!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html