Prev: Types in template functions.
Next: Unicode question
From: David Webber on 15 Dec 2009 12:15 "Igor Tandetnik" <itandetnik(a)mvps.org> wrote in message news:eMuTjgYfKHA.4952(a)TK2MSFTNGP06.phx.gbl... > The problem is not with the SDK. The problem is that VS 2008 SP1 sometimes > fails to update atlcomcli.h (which is not part of the SDK). Apparently, > you have to install SP1 _after_ installing SDK (whether 6 or 7). The > solution, apparently, is to uninstall everything and then reinstall it > carefully in the right order. Thanks again - have left SDK7 there, uninstalled Visual Studio 2008, reinstalled it, reinstalled SP1 and everything seems to be working. Wish I knew why! Dave -- David Webber Mozart Music Software http://www.mozart.co.uk For discussion and support see http://www.mozart.co.uk/mozartists/mailinglist.htm
From: Вячеслав on 2 Jan 2010 21:02
On 14 дек 2009, 20:42, "Microsoft communities" <d...(a)musical-dot-demon- dot-co.uk> wrote: > With my shiny new 64bit Windows 7 machine: > > 1. I install Visual Studio 2008 > 2. I install SP1 > 3. I copy across my C++ project > 4. I rebuild all. > > It worked fine on 32 bit Vista but now fails to compile. > > The offending section is in atlcom.h > > #if !defined(_ATL_DLL_IMPL) && !defined(_ATL_DLL) >     ClassesAllowedInStream rgclsidAllowed; >     DWORD cclsidAllowed; > #endif > > with error: > c:\program files (x86)\microsoft visual studio > 9.0\vc\atlmfc\include\atlcom.h(431) : error C2146: syntax error : missing > ';' before identifier 'rgclsidAllowed' > > Any ideas what I do about this? > > Dave > -- > David Webber > Mozart Music Softwarehttp://www.mozart.co.uk > > PS:  There is a difference in visual studio installations: > In Win7 I have > Microsoft Visual C++ 2008  91851-136-0287963-60989 > In Vista it is > Microsoft Visual C++ 2008  91851-136-0287963-60238 > > but I don't know if that is significant. Summary you need delete file ...\ce\atlmfc\include\atlcomcli.h before applying the VS90SP1-KB973675-x86 patch |