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

BUG: 64位操作系统 FileUtils::ListFiles 异常 #96

Open
yuz1 opened this issue Aug 21, 2024 · 0 comments
Open

BUG: 64位操作系统 FileUtils::ListFiles 异常 #96

yuz1 opened this issue Aug 21, 2024 · 0 comments

Comments

@yuz1
Copy link

yuz1 commented Aug 21, 2024

long的范围不够,
当系统是32位 _wfindfirst 返回的是int32类型 long
当系统是64位 _wfindfirst 返回的是int64类型 long long ,
建议改为:
auto lIsFindFile = _wfindfirst(strPathName.c_str(), &c_file);

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

No branches or pull requests

1 participant