error C4996: 'GetVersionExW': 被声明为已否决

1.Project Properties > Configuration Properties > C/C++ > General > SDL checks关掉

其他方法:
2.#pragma warning(disable: 4996)          

3。/wd 4996

猜你喜欢

转载自blog.csdn.net/bruce135lee/article/details/81387349