gpt4 book ai didi

c++ - 在 Visual Studio 2015 中使用 XP Targeting 编译时 Windows XP 上出现 fatal error

转载 作者:可可西里 更新时间:2023-11-01 10:44:28 26 4
gpt4 key购买 nike

我正在使用 TR2 的文件系统库通过 last_write_time 函数检索文件的最后修改时间,但是在 Windows XP 上调用 last_write_time 时会发生 fatal error 。

我无法隔离导致 Windows XP 而非 Windows 7/8/10 上的 fatal error 的代码。

DLL项目( fatal error )

这是我尝试用一​​个不会给出 fatal error 的 EXE 项目隔离有问题的代码: main.cpp

这是错误:

Exception: 0xC0000005 (ACCESS_VIOLATION) at 001B:07043EAC

The instruction at '0x07043EAC' referenced memory at '0x00000000'.

The memory could not be 'read'.

最佳答案

我猜这是 XP 和 Server 2003 上的 TLS 问题?

http://www.nynaeve.net/?p=181

关于c++ - 在 Visual Studio 2015 中使用 XP Targeting 编译时 Windows XP 上出现 fatal error ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32434511/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com