469,267 Members | 938 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,267 developers. It's quick & easy.

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

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

Jan 15 '07 #1
3 3654
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.
Jan 15 '07 #2
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
br**********************@hotmail.com
Remove only "_nos_pam"
Jan 15 '07 #3

Bruno van Dooren [MVP VC++] wrote:
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
br**********************@hotmail.com
Remove only "_nos_pam"
Hi,
Thanks.

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

Efi

Jan 16 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Woody Splawn | last post: by
3 posts views Thread by mpar612 | last post: by
reply views Thread by linkswanted | last post: by
15 posts views Thread by mcjason | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.