初学者问:使用CInternetSession应该引用哪些头文件?
我写了两行代码
CInternetSession s;
s.OpenURL("http://www");
编译报告
D:\Program Files\Microsoft Visual Studio\MyProjects\f4\f4Dlg.cpp(175) : error C2065: 'CInternetSession' : undeclared identifier
D:\Program Files\Microsoft Visual Studio\MyProjects\f4\f4Dlg.cpp(175) : error C2146: syntax error : missing ';' before identifier 's'
D:\Program Files\Microsoft Visual Studio\MyProjects\f4\f4Dlg.cpp(175) : error C2065: 's' : undeclared identifier
D:\Program Files\Microsoft Visual Studio\MyProjects\f4\f4Dlg.cpp(176) : error C2228: left of '.OpenURL' must have class/struct/union type
请问是不是需要包含什么头文件?