{"comment":{"url":"https://api.github.com/repos/CoolProp/CoolProp/comments/9907346","html_url":"https://github.com/CoolProp/CoolProp/commit/e5b66b3218715b81cae25a33a187e8f292304eeb#commitcomment-9907346","id":9907346,"user":{"login":"mikekaganski","id":1034487,"avatar_url":"https://avatars.githubusercontent.com/u/1034487?v=3","gravatar_id":"","url":"https://api.github.com/users/mikekaganski","html_url":"https://github.com/mikekaganski","followers_url":"https://api.github.com/users/mikekaganski/followers","following_url":"https://api.github.com/users/mikekaganski/following{/other_user}","gists_url":"https://api.github.com/users/mikekaganski/gists{/gist_id}","starred_url":"https://api.github.com/users/mikekaganski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikekaganski/subscriptions","organizations_url":"https://api.github.com/users/mikekaganski/orgs","repos_url":"https://api.github.com/users/mikekaganski/repos","events_url":"https://api.github.com/users/mikekaganski/events{/privacy}","received_events_url":"https://api.github.com/users/mikekaganski/received_events","type":"User","site_admin":false},"position":71,"line":122,"path":"include/CoolPropTools.h","commit_id":"e5b66b3218715b81cae25a33a187e8f292304eeb","created_at":"2015-02-25T02:42:17Z","updated_at":"2015-02-25T02:42:17Z","body":"When you use WinAPI like this (that has A and W versions, and a macro that depend on UNICODE def), and you explicitly pass wchar_t or char, not TCHARs, then it's MUCH BETTER to use widechar API explicitly:\r\n\r\nWIN32_FIND_DATAW ...\r\nFindFirstFileW(...\r\n\r\neven if you define global UNICODE flag. It makes things self-documenting."}}