MFC Data loosing: help please

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

  1. devilszone123

    devilszone123 New Member

    Joined:
    Aug 30, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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;

    Exportvar.AddNodeTo(dGetWt);

    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice