Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not compile in Windows in Unicode (WCHAR) mode #170

Open
rpatters1 opened this issue Oct 27, 2023 · 0 comments
Open

Does not compile in Windows in Unicode (WCHAR) mode #170

rpatters1 opened this issue Oct 27, 2023 · 0 comments

Comments

@rpatters1
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant