|
화일을 복사 하고자 합니다.
찾아 보니 윈도우 api 함수중에
CopyFile이라는 것이 있는데
The CopyFile function copies an existing file to a new file.
BOOL CopyFile(
LPCTSTR lpExistingFileName,
// pointer to name of an existing file
LPCTSTR lpNewFileName, // pointer to filename to copy to
BOOL bFailIfExists // flag for operation if file exists
);
과 같습니다.
그런데 현존하는 화일 이름을 ExtractFilePath(Application->ExeName) + "화일이름.확장자";
이렇게 했더니..
다음과 같은 에러가..E2034 Cannot convert 'AnisString' to 'const char *'
어케 해결해야 하죠?? ansistring 을 char 형트로 바꿀수 없다는것 같은데..
|