Little did I know that after installing Visual Studio C++ Express 2005 to a new IE8 test virtual machine along with the Windows Platform SDK and setting it up, I would be unable to compile a project dependent to the MFC.
fatal error C1083: Cannot open include file: ‘afxwin.h': No such file or directory
That fact is actually written on this page.
What I did as a workaround was: I shared “Program Files\Microsoft Visual Studio 9.0\VC\atlmfc” folder from host to the virtual machine.
After a long compilation it gave more errors.
atlmfc\include\atlalloc.h(227) : error C2065: ‘_S1max’ : undeclared identifier