在win10中,使用文件遍历函数_findnext会报0xC0000005错误 ,发生访问冲突错误 错误定位到ntdll.dll

原因: 
_findnext()第一个参数”路径句柄”,返回的类型为intptr_t(long long),如果定义为long,在win7中是没有问题,但是在win10中就要改为long long或者intptr_t

相关文章:

  • 2021-11-30
  • 2021-11-27
  • 2021-12-01
  • 2021-07-31
  • 2021-09-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-27
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
  • 2021-12-04
  • 2021-04-14
  • 2021-08-16
相关资源
相似解决方案