需要的头文件支持

_beginthreadx 在VC++中包含在头文件<process.h>中,但是直接编译会出现错误提醒,如:
【编译错误】_beginthreadx :undeclared identifier
需要对编译环境进行设置:
步骤:依次选择project->设置(Setting) -> C/C++ ->Category中选Code Generation->using runtime lib 下选多线程模式multithreaded或者Debug Multithreaded ,就是多线程运行库,是一些.lib文件。即使用: MT或MTD。

图解

1.
【编译错误】_beginthreadx :undeclared identifier
2.
【编译错误】_beginthreadx :undeclared identifier

然后编译就成功啦:

【编译错误】_beginthreadx :undeclared identifier

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-10
  • 2021-12-08
  • 2022-12-23
相关资源
相似解决方案