Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / January 2007

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Efi Merdler - 15 Jan 2007 09:01 GMT
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
Jonathan Wilson - 15 Jan 2007 11:50 GMT
> 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.
Bruno van Dooren [MVP VC++] - 15 Jan 2007 11:55 GMT
> 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.

Signature

Kind regards,
   Bruno van Dooren
   bruno_nos_pam_van_dooren@hotmail.com
   Remove only "_nos_pam"

Efi Merdler - 16 Jan 2007 09:15 GMT
> > 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
[quoted text clipped - 8 lines]
>     bruno_nos_pam_van_dooren@hotmail.com
>     Remove only "_nos_pam"

Hi,
Thanks.

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

Efi

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.