поставил сабж. File\New project\Project types\Win32, в installed templates только "Win32 Console Application"? как создать "Win32 Windows Application"?
Создай console app, только поставь галочку "Empty project". А потом в свойствах линкера выставь subsystem:windows Остальной код руками напиши, всё равно от шаблона не много толку.
t00x С Express Edition - дохлый номер. Насколько я помню там и windows.h нету. она старее, оптимизация хуже, и т.п. IMHO лучше диск с триальной версией 2005 попросить прислать.
asmfan правда? Должны присылать два диска в одной упаковке, один из них студия 2005 с триал лицензией, второй - VSIP Partner DVD
создал новый проект, и добавил в него: Код (Text): #include <exdisp.h> #include <mshtml.h> ... IWebBrowser2* pBrowser2; выдало - 30 error(s), 12 warning(s) первая ошибка: c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(49) : error C2146: syntax error : missing ';' before identifier 'IWebBrowser' какОй 'IWebBrowser' ??? o_O P.S. ссылочку на WindowsSDK не подкинете
Pushkoff Это так sdk под висту вроде зовётся? t00x windows.h может нужен? Хотя, у меня собралось. Смотри на строки, в которых ошибка, какой смысл телепатировать.
IceStudent пардон за такой спам Код (Text): ------ Build started: Project: IExplorer, Configuration: Debug Win32 ------ Compiling... stdafx.cpp c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(49) : error C2146: syntax error : missing ';' before identifier 'IWebBrowser' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(49) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(49) : error C2146: syntax error : missing ';' before identifier 'IWebBrowser' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(49) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(49) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(49) : error C2086: 'int IWebBrowser' : redefinition c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(49) : see declaration of 'IWebBrowser' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(55) : error C2146: syntax error : missing ';' before identifier 'DWebBrowserEvents' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(55) : warning C4091: '' : ignored on left of 'interface' when no variable is declared c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(61) : error C2146: syntax error : missing ';' before identifier 'IWebBrowserApp' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(61) : warning C4091: '' : ignored on left of 'interface' when no variable is declared c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(67) : error C2146: syntax error : missing ';' before identifier 'IWebBrowser2' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(67) : warning C4091: '' : ignored on left of 'interface' when no variable is declared c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(73) : error C2146: syntax error : missing ';' before identifier 'DWebBrowserEvents2' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(73) : warning C4091: '' : ignored on left of 'interface' when no variable is declared c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(127) : error C2146: syntax error : missing ';' before identifier 'DShellWindowsEvents' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(127) : warning C4091: '' : ignored on left of 'interface' when no variable is declared c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(133) : error C2146: syntax error : missing ';' before identifier 'IShellWindows' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(133) : warning C4091: '' : ignored on left of 'interface' when no variable is declared c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(151) : error C2146: syntax error : missing ';' before identifier 'IShellUIHelper' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(151) : warning C4091: '' : ignored on left of 'interface' when no variable is declared c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(157) : error C2146: syntax error : missing ';' before identifier 'IShellUIHelper2' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(157) : warning C4091: '' : ignored on left of 'interface' when no variable is declared c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(175) : error C2146: syntax error : missing ';' before identifier 'DShellNameSpaceEvents' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(175) : warning C4091: '' : ignored on left of 'interface' when no variable is declared c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(181) : error C2146: syntax error : missing ';' before identifier 'IShellFavoritesNameSpace' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(181) : warning C4091: '' : ignored on left of 'interface' when no variable is declared c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(187) : error C2146: syntax error : missing ';' before identifier 'IShellNameSpace' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(187) : warning C4091: '' : ignored on left of 'interface' when no variable is declared c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(217) : error C2146: syntax error : missing ';' before identifier 'IScriptErrorList' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(217) : warning C4091: '' : ignored on left of 'interface' when no variable is declared c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(689) : error C2371: 'DWebBrowserEvents' : redefinition; different basic types c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(55) : see declaration of 'DWebBrowserEvents' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(796) : error C2371: 'IWebBrowserApp' : redefinition; different basic types c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(61) : see declaration of 'IWebBrowserApp' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(1285) : error C2371: 'IWebBrowser2' : redefinition; different basic types c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(67) : see declaration of 'IWebBrowser2' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(1923) : error C2371: 'DWebBrowserEvents2' : redefinition; different basic types c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(73) : see declaration of 'DWebBrowserEvents2' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(2062) : error C2371: 'DShellWindowsEvents' : redefinition; different basic types c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(127) : see declaration of 'DShellWindowsEvents' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(2169) : error C2371: 'IShellWindows' : redefinition; different basic types c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(133) : see declaration of 'IShellWindows' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(2430) : error C2371: 'IShellUIHelper' : redefinition; different basic types c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(151) : see declaration of 'IShellUIHelper' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(2693) : error C2371: 'IShellUIHelper2' : redefinition; different basic types c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(157) : see declaration of 'IShellUIHelper2' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(3073) : error C2371: 'DShellNameSpaceEvents' : redefinition; different basic types c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(175) : see declaration of 'DShellNameSpaceEvents' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(3180) : error C2371: 'IShellFavoritesNameSpace' : redefinition; different basic types c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(181) : see declaration of 'IShellFavoritesNameSpace' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(3405) : error C2371: 'IShellNameSpace' : redefinition; different basic types c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(187) : see declaration of 'IShellNameSpace' c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(3826) : error C2371: 'IScriptErrorList' : redefinition; different basic types c:\program files\microsoft sdks\windows\v6.0a\include\exdisp.h(217) : see declaration of 'IScriptErrorList' Build log was saved at "file://c:\Documents and Settings\Администратор\Мои документы\Visual Studio 2008\Projects\IExplorer\IExplorer\Debug\BuildLog.htm" IExplorer - 30 error(s), 12 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== windows.h (6164 bytes) - может и нужен P.S. попробовал старые проекты - всё на 2008 работает P.P.S. может *.lib не указан?