The book of inspiration

January 15, 2009

Visual C++ EE does not support MFC

Filed under: visual studio — Tags: , — zproxy @ 1:36 pm

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

The Shocking Blue Green Theme. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

Join 81 other followers