Advertisement

VC++ Newbie PROBLEM w/ MFC

Started by December 06, 2000 06:49 PM
6 comments, last by plastickid 24 years ago
HELP The problem is lets say I goto File,New, then the Projects tab and click MFC App Wizard exe, then hit ok, for Dialog based App then hit Finish...To generate the App..Click compile to generate the App and it should make the program with two buttons...Ok, everything is working good...The main problem I have is after you close down vc++ and reopen it..Lets say I goto file open and browse to the .cpp file I just created, when I click compile it generated and error..The code won''t work and there is no resource tab..Can someone PLEEEEEEASE tell me what I am doing wrong cause this is very frustrating..Thanks coders.. plastickid Too lazy to think!
Too lazy to think!
You have to open the workspace (*.dsw) or project (*.dsp) file, not the original .cpp file because a program could consist of many .cpp files.
Advertisement
Hey plastickid, you need to open the WORKSPACE (from ''Open Workspace'' on the File menu) which will be called project-name.dsw

This will probably contain more than one .cpp source file, and all the compile and link settings needed to make the executable.

Dave
Thanks guys I really appreciate the help...I was thinking about getting the Andre Lamothe Book and a book from Ivor horton, tell me what you guys think about it..

http://www.wrox.com/Books/Book_Details.asp?sub_section=1&isbn=186100088X&subject=C%2B%2B+and+Visual+C%2B%2B&subject_id=3

I am going to read that book and The TWGPG at the same time, any suggestions for nothing..well cya coders.

Too lazy to think!
Too lazy to think!
Hey PK:
TWGPG is a pretty decent book. I''ve got it right now, and it''s helping me get started. Unfortunately, you will probably need to know C or C++ already. I can tell you it''s a PAIN in the NECK with little C experience and trying to read that book (Class? What the F*ck''s a class?!? ). All in all though, it''s turning out to be a decent read.

Have fun,
ArtemisX
I''ve got the TOTWGPG by Andre LaMothe (beware the first coppies, they came with dodgy CDs) I think its really good and I would recommend it. THE Ivor Horton one.. I''m not sure which one you are talking about (there are two i can think of his C and another C++ one) I have the C one and can also recommend that, I have had a bief look at his C++ book and it looks really good also. The impresion that I get is that his books are generally very good anyways.

Max
Advertisement
I''ve got the TOTWGPG by Andre LaMothe (beware the first coppies, they came with dodgy CDs) I think its really good and I would recommend it. THE Ivor Horton one.. I''m not sure which one you are talking about (there are two i can think of his C and another C++ one) I have the C one and can also recommend that, I have had a brief look at his C++ book and it looks really good also. The impresion that I get is that his books are generally very good anyways.

Max
Bloody double posts!

This topic is closed to new replies.

Advertisement