It is easy enough to fix by appending "A" to the affected functions:
CreateFileA
GetFinalPathNameByHandleA
CreateHardLinkA
CreateSymbolicLinkA
GetFileAttributesExA
However, it really depends on what the goal of the repo is. A more appropriate approach might be to convert all the relevant strings to WCHAR and call the W versions. This would require changing the inputs from ANSI to UTF8.
It is easy enough to fix by appending "A" to the affected functions:
CreateFileA
GetFinalPathNameByHandleA
CreateHardLinkA
CreateSymbolicLinkA
GetFileAttributesExA
However, it really depends on what the goal of the repo is. A more appropriate approach might be to convert all the relevant strings to WCHAR and call the
W
versions. This would require changing the inputs from ANSI to UTF8.