pro文件添加

LIBS+=-lAdvapi32-lgdi32-luser32-lshell32

 

 

若是在VS环境:

需要加入库文件ws2_32.lib

可以在stdafx.h中增加这一句:#pragma comment(lib, "ws2_32.lib")

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-22
  • 2021-10-23
  • 2022-12-23
  • 2021-05-20
  • 2022-12-23
  • 2022-02-14
猜你喜欢
  • 2021-08-28
  • 2021-10-16
  • 2021-12-05
  • 2022-12-23
  • 2021-08-29
  • 2022-01-09
  • 2021-11-01
相关资源
相似解决方案