"Ajay Kalra" <***@yahoo.com> wrote in message news:***@f14g2000cwb.googlegroups.com...
:> I was just wondering if MS is going to continue to support MFC?
:
: Yes.
:
: > Is visual studio 2005 going to support the creation of MFC
: applications?
:
: Yes.
That's not my experience at the moment...
I just tried to build a straightforward MFC dialog application in
Visual C++ 2005 Express Edition Beta 2
I did it by starting in MSVC 6.0, and used the wizard to create a dialog
based MFC app.
Then I imported the project into Visual C++ 2005 Express Edition Beta 2
I was also using the latest Platform SDK (Win 2003 Server SP1)
First, I couldn't get it to recognize my include paths (despite editing ,
and had to set them manually in the build settings.
Then, despite that, I got errors like the following:
C:\Program Files\Microsoft Visual Studio\VC98\MFC\Include\afxwin1.inl(1014)
: error C4430: missing type specifier - int assumed. Note: C++ does not
support default-int
C:\Program Files\Microsoft Visual Studio\VC98\MFC\Include\afxwin1.inl(1016)
: error C4430: missing type specifier - int assumed. Note: C++ does not
support default-int
So, it appears that some C++ compliance has caused the following lines (from
afxwin1.inl) to become illegal:
_AFXWIN_INLINE CMenu::operator==(const CMenu& menu) const
{ return ((HMENU) menu) == m_hMenu; }
_AFXWIN_INLINE CMenu::operator!=(const CMenu& menu) const
{ return ((HMENU) menu) != m_hMenu; }
I've raised this as a bug on the website, but has anyone else
a) tried this
and if so
b) found a workaround?
Anthony Wieser
Wieser Software Ltd