At 12:23 PM +0530 11/4/02, Jayanarayanan M N wrote:
>I am trying to copy value from a field to local character array.
>
>fldPtr = FrmGetObjectPtr( thisForm , FrmGetObjectIndex( m_pForm, controlID ));
>StrCopy ( strBig,  fldPtr )
>
>Gives warning  on emulator.
>"...just read from memory location 0x000139E7, which is in an unallocated chunk of 
>memory."
>
>If clicked to continue, programs continues in normal way. Can I ignore this?
>What could be the cause?

Check the return type of FrmGetObjectPtr().  You'll see that it doesn't return a 
string.

-- Keith

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to