int communication::OnOk() { // TODO: Add your control notification handler code here UpdateData(TRUE); { //Some code } return 0; }
error C2440: 'static_cast' : cannot convert from 'int (__thiscall communication::* )(void)' to 'AFX_PMSG'
AFX_PMSG
public typedef void( CCmdTarget::* AFX_PMSG )( void )
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)