VC运行时出现如下错误,如何解决?
Compiling...
Terminal.cpp
TerminalDoc.cpp
TerminalView.cpp
SetupDlg.cpp
G:\Vcstudy\Test\Terminal\SetupDlg.cpp(38) : error C2664: 'DDX_CBIndex' : cannot convert parameter 3 from 'class CString' to 'int &'
A reference that is not to 'const' cannot be bound to a non-lvalue
G:\Vcstudy\Test\Terminal\SetupDlg.cpp(43) : error C2664: 'DDX_CBIndex' : cannot convert parameter 3 from 'class CString' to 'int &'
A reference that is not to 'const' cannot be bound to a non-lvalue
G:\Vcstudy\Test\Terminal\SetupDlg.cpp(45) : error C2664: 'DDX_CBIndex' : cannot convert parameter 3 from 'class CString' to 'int &'
A reference that is not to 'const' cannot be bound to a non-lvalue
Generating Code...
Error executing cl.exe.
Terminal.exe - 3 error(s), 0 warning(s)