07-26-2005 08:47 AM
07-27-2005 06:13 AM
You may have left room for the NUL terminator but did you actually copy it to the destination string? Try adding 1 to the number of bytes that you copy with the CopyBytes() function. eg:
CopyBytes (target, 0, source, 0, strlen (source) + 1);
Alternatively use CopyString() which automatically adds the NUL for you.
JR