Changeset 33 in chevmsgr for trunk/msvc14/ChevMsgrClient_MFC/LoginDlg.cpp
- Timestamp:
- 12/09/15 06:47:21 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/msvc14/ChevMsgrClient_MFC/LoginDlg.cpp
r31 r33 59 59 60 60 GetDlgItemText(IDC_EDIT_LOGIN_ID, id); 61 if (id == _T("")) 62 { 63 AfxMessageBox(_T("No ID")); 64 return; 65 } 66 61 67 std::string name = cf::codec::hex::getInstance()->encode(c.sha256(cf::bin(cstr2str(id)))); 62 68 std::ifstream f(name); … … 70 76 71 77 GetDlgItemText(IDC_EDIT_LOGIN_PW, pw); 78 if (pw == _T("")) 79 { 80 AfxMessageBox(_T("No Password")); 81 return; 82 } 83 72 84 f >> str; 73 85
Note:
See TracChangeset
for help on using the changeset viewer.