Microsoft communities
2009-12-14 17:42:54 UTC
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 Software
http://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.
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 Software
http://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.