1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Vc++

Discussion in 'Win32' started by Rohan Bhandare, Sep 5, 2007.

  1. Rohan Bhandare

    Rohan Bhandare New Member

    Joined:
    Sep 5, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    What is the role of MFC application wizard in development of VC++ program
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,283
    Likes Received:
    364
    Trophy Points:
    83
    MFC is a framework to develop VC++ programs. Or MFC is the framework for developing applications in C++ programming language and wizard just helps to generate some basic code.
     
  3. Rohan Bhandare

    Rohan Bhandare New Member

    Joined:
    Sep 5, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Thanks Man. I have currently made some dialog based applications ,in all of them I did not find main function like in C++ . So I want to know from what point program execution begins, and at what instant the functional code in classes made by MFC wizard are called.
     
  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,283
    Likes Received:
    364
    Trophy Points:
    83
    Did you get your answer for that?
     
  5. jwshepherd

    jwshepherd New Member

    Joined:
    Aug 13, 2007
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    VP Technology Corporation
    Location:
    Texas
    Home Page:
    MFC usually calls winmain()
     
  6. Rohan Bhandare

    Rohan Bhandare New Member

    Joined:
    Sep 5, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Hellow Friends
    I have made adialog based application. On its resource windo I have made an edit box. I have also attached variable to this edit box. Then I delete the variables and code accesing this variable, Ialso deleted the edit box from resource window. now when I execute my program I an getting an exception " not able to write on memory". Compilation and linking is complete. EXE file is also built . But execution is a problem. How should I proceed.
     
  7. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,283
    Likes Received:
    364
    Trophy Points:
    83
    Don't go about using the wizard as that will make your life hell. Use the In hand code snippets to get your job done. Just use the wizard to get the initial framework.
     
  8. Rohan Bhandare

    Rohan Bhandare New Member

    Joined:
    Sep 5, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Thanks Man Iwill try this way
     

Share This Page