Hi, I'm making a program and I keep getting an error when I use the CopyFile function.
Here is the line that gives me trouble: CopyFile(filePath, filePath + ".bak", true);
"filePath" is a string by the way
The Error: error C2664: 'CopyFile' : cannot convert parameter 1 from 'System::String ^' to 'LPCTSTR'