CCommunitionSetting MyDlg; If (IDOK==MyDlg. DoModal ()) { MyDlg. MCommPort. GetLBText (0, s);//to run to the other error, delete this sentence can run; MCommPort is dialog box controls CComboBox class variables; PDoc - & gt; CommSet. Add=MyDlg. MCommAdd;//this sentence can run; MCommAdd is dialog box controls CComboBox class variables; CommSet variables defined in the DOC } }
CodePudding user response:
Winctrl1. CPP is your own code or library code? Compilation can Release way? I also encountered a similar,
CodePudding user response:
Winctrl1. CPP is VS own, click on the button, Release way compile time can't the pop-up dialog box, do not know what to do,
CodePudding user response:
The code that you write new or old project? If the old project with the corresponding versions of VS a try,