这么不是人品问题

来源:百度知道 编辑:UC知道 时间:2024/05/16 15:31:03
源代码如下
#include "stdafx.h"
#include "DiHTML.h"
#include "DiHTMLDlg.h"
#include "webbrowser2.h"
#include <Mshtml.h>
。。。。。。
。。。。。。
CWebBrowser2.Navigate2(_T("http://www.baidu.com/"),null,null);
}
然后报错
error C2143: syntax error : missing ';' before '.'

人家这样做没错啊

--------------------Configuration: Cpp1 - Win32 Debug--------------------
Compiling...
Cpp1.cpp
c:\documents and settings\jszx\cpp1.cpp(1) : fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
Error executing cl.exe.

Cpp1.exe - 1 error(s), 0 warning(s)