Hi all!
I have 2 functions: getTim and getMin, they return a char*.
I want to concatenate these to strings with a "." i the middle.
But when I do this I get the error message:
CTR(unknown version)just wrote to memory location 0x00030E83,
which is in the storage heap. In order to protect the integrity of the
user's data, such direct access is not allowed. Instead, applications
should use special Palm OS functions for this purpose.
It seems that StrCat is not available, does any of you know what I shold use
instead??
this is my code:
char* str= " ";
str= StrCat(getTim(), ".");
str= StrCat(str,getMin());
//write to the field:
UInt16 Index = FrmGetObjectIndex(form, fldMon);
FieldType *ptr = (FieldType *) FrmGetObjectPtr(form, Index);
FldSetTextPtr(ptr, str);
FldDrawField(ptr);
_________________________________________________________________
H�mta MSN Explorer kostnadsfritt p� http://explorer.msn.se
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/