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

MFC Data loosing: help please

Discussion in 'MFC' started by devilszone123, Aug 30, 2011.

  1. devilszone123

    devilszone123 New Member

    Aug 30, 2011
    Likes Received:
    Trophy Points:
    I am developing a application in MFC in which i have a mainframe with class CChildview and a dialog class (called AddDeleteNode) Now i call this dialog via a button called Add/Delete Node On the main frame and then there is a edit box in my dialog class with Add button next to it and i type sum numbers(numerical value) in it and click Add for which i gets the value from edit box in string and converts it into double and then exports this value back to childview class via this

    CChildView Exportvar;


    now the problem is when it goes back to childview class all the other data which i read at beginning of the program and stored in member variables in childview.h is lost and showing garbage value .. i dont know whats happening please help..!!

Share This Page