I am having two dialogs,dialog1 contains (dial1.h,dial1.cpp) and dialog2 contain(dial2.h,dial2.cpp) and one common main.cpp file ,how will i set common variable for this dialogs some one help me pls...


thanks.