Hello, I'm having problems with FileCopy. On Windows CE it doesn't work for me.
VAR FileSize: __XWORD; st_result: SysFile.RTS_IEC_RESULT; END_VAR //copy recipe in destination file IF copia then st_result:= SysFileCopy(szDestFileName:= '/StorageCard/a1.txt', szSourceFileName:= '/StorageCard/a2.txt', pulCopied:=ADR(FileSize)); ELSE st_result:=0; END_IF
st_result gives me error 16. Has this ever happened to you?
Log in to post a comment.
Hello, I'm having problems with FileCopy.
On Windows CE it doesn't work for me.
st_result gives me error 16.
Has this ever happened to you?
Last edit: dalla 2022-04-25