Quote Originally Posted by [email protected] View Post
in CMyDialog1 class file:
m_intVariable =7;

and in CMyDialog2 class file:
int value;
CMyDialog1 dlg;
value= dlg.m_intVariable ;

if we do not call DoModal method before assignment then dlg.m_intVariable is empty.

please give me simple solution for this.
I did not get that class example