> StrCopy(newRecord->time,"test"); He didn't include the declaration of "newRecord" so we don't even know whether it is a structure or just a type, but assuming that it's a structure, don't you really mean
StrCopy (newRecord.time, "test"); ? :-) Your example assumes that it's a pointer - but if it is, then the expression "sizeof(newRecord)" in the original code is incorrect. Regards, Vesselin -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
