VC解决error C2065: 'timeGetTime' : undeclared identi

来源:互联网 发布:mac vim 修改只读文件 编辑:程序博客网 时间:2024/05/17 16:44
2009-03-28 13:40

在VC的.cpp中加入如下头文件及库的引用。

#include <afxinet.h>
#include <wininet.h>
#include <windows.h>
#include <mmsystem.h>
#pragma comment(lib, "winmm.lib")
#pragma comment(lib,"wininet")

 

可以解决如下问题。

E:\software\vc代码\hxyIEWorkSpace\hxySIE\Update\UpdateDlg.cpp(184) : error C2065: 'InternetGetConnectedState' : undeclared identifier

阅读全文
0 0
原创粉丝点击