1- CWMSetting theDlg;
2- theDlg.SetParent(this);
3- theDlg.DoModal();
I got the error :
error C2664: 'SetParent' : cannot convert parameter 1 from 'class CGen_uirApp *const ' to 'class CWnd *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
What is my problem?


Reply With Quote