i cant seem to find the pointers to my other Dlg i have created, i want to be able to access these pointers as soon as the app has opened...
this is what i've been trying
1 2
BDlg = (CBClass*)AfxGetMainWnd(); <- not finding the correct pointer
CDlg = (CCClass*)AfxGetMainWnd(); <- same
ADlg is the main dialog, with BDlg and CDlg set in the app, the question is how do i properly get the pointers to BDlg and CDlg so i can use those pointers with my other classes, what is the best and fastest way?