Go4Expert

Go4Expert (http://www.go4expert.com/)
-   MFC (http://www.go4expert.com/forums/mfc/)
-   -   MFC Data loosing: help please (http://www.go4expert.com/forums/mfc-data-loosing-help-t26588/)

devilszone123 30Aug2011 07:57

MFC Data loosing: help please
 
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..!!


All times are GMT +5.5. The time now is 23:59.