First of all, i'm a complete newbie to programing c++.
Just trying to compile an old version of DC++ and work from there.
Anyway, i can't understand why i get this syntax error?
Are the other errors coming because of the syntax error?
--------------------Configuration: DCPlusPlus - Win3Debug--------------------
Compiling...
stdafx.cpp
d:\programing\vc\vs\include\atlframe.h(274) : error C2146: syntax error : missing ';' before identifier 'lpnm'
d:\programing\vc\vs\include\atlframe.h(905) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<TBase,TWinTraits>' being compiled
d:\programing\vc\vs\include\atlframe.h(274) : error C2501: 'LPNMREBARCHEVRON' : missing storage-class or type specifiers
d:\programing\vc\vs\include\atlframe.h(905) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<TBase,TWinTraits>' being compiled
d:\programing\vc\vs\include\atlframe.h(274) : error C2501: 'lpnm' : missing storage-class or type specifiers
d:\programing\vc\vs\include\atlframe.h(905) : see reference to class template instantiation 'WTL::CFrameWindowImplBase<TBase,TWinTraits>' being compiled
Error executing cl.exe.
DCPlusPlus.exe - 3 error(s), 0 warning(s)
-----The file------------
#if (_WIN32_IE >= 0x0500)
struct _ChevronMenuInfo
{
HMENU hMenu;
LPNMREBARCHEVRON lpnm;
bool bCmdBar;
};
#endif //(_WIN32_IE >= 0x0500)
Syntax error - compiling old version
Moderator: Moderators
-
GargoyleMT
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-08 02:46
- Location: .pa.us
-
GargoyleMT
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-08 02:46
- Location: .pa.us
ok
I haven't updated a Platform SDK myself, but did you point it to the proper include directories? It doesn't seem to install over top of the Platform SDK included in your Visual Studio directory...
Who is online
Users browsing this forum: Google [Bot] and 0 guests