A bunch of afx.h errors after moving to vc express

E

Efi Merdler

Hello,
I developed my previous project (an MFC project with managed
extensions) on VC.NET standard edition, it took some time to configure
it but eventually it worked.

Now I'm configuring a new machine with VC express.
1.I installed SP 1.
2. I copied the project to this new machine.
3. I followed the tutorial on configuring the SDK, i.e
3.1 Changed the build paths (LIB, etc...)
3.2 Changed corewin_express.vsprops.

When compiling my new project I get a lot of errors in afx.h, for
example :
afx.h(1171) : error C2143: syntax error : missing '}' before 'generic'
afx.h(1178) : error C2143: syntax error : missing ';' before '}'
....

Why ?

Thanks,
Efi
 
J

Jonathan Wilson

Why ?
As far as I know, Visual C++ Express is not compatible with (and cannot
use) MFC. If you want MFC you will need to purchase Visual Studio
standard/advanced/whatever.
 
B

Bruno van Dooren [MVP VC++]

As far as I know, Visual C++ Express is not compatible with (and cannot
use) MFC. If you want MFC you will need to purchase Visual Studio
standard/advanced/whatever.

Its compatible, but MFC and ATL are simply not included with VC express.

--

Kind regards,
Bruno van Dooren
(e-mail address removed)
Remove only "_nos_pam"
 
E

Efi Merdler

Bruno said:
Its compatible, but MFC and ATL are simply not included with VC express.

--

Kind regards,
Bruno van Dooren
(e-mail address removed)
Remove only "_nos_pam"

Hi,
Thanks.

But by installing the SDK doesn't it also install MFC ?

Efi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top