You don't call DoDataExchange() directly. To cause that function to be called you have to call UpdateData() then MFC will call DoDataExchange(), which will transfer the data from the windows control to your variables, assuming you gave variable names to the controls. If you didn't do that then UpdateData() will do nothing. In that case you have to do it manually, which can be a big pain, but not impossible.