I am a novice in MFC programming.I have two different problems
1)I have made a simple SDI application using app wizard in which a class I have added MyDialogClass to handle IDD_DIALOG1.
Now I have some data which is stored in variables of Doc class.These variables I want to use in the constructor of MyDialogClass.So I need Doc class's pointer in this class.
How can i do that.
2)I need to know the Path of My Exe in one of my functions.
We have a variable in CWinApp::m_pszHelpFilePath to find the path of applicatons Help file But I want the Path of My Exe.