In my project I declared a function named ReplaceFile, yet when referencing it in my cpp, I get the strangest error. It appends a 'W' to the end of the method I wrote.
Why on earth would it think I wrote ReplaceFileW? I already did a project search for ReplaceFileW and it comes up with nothing.
If you need anything else just comment, otherwise, is this a simple fix?
Here is the declaration in the header for ReplaceFile and it's overload:
// Description: replace an existing file into the package
void ReplaceFile(std::string path, std::string pathInPackage, void(*replaceProgress)(void*, DWORD,
DWORD) = NULL, void *arg = NULL);
// Description: replace an existing file into the package
void ReplaceFile(std::string path, StfsFileEntry *entry, std::string pathInPackage,
void(*replaceProgress)(void*, DWORD, DWORD) = NULL, void *arg = NULL);
Thanks for your time.