Guest User

Untitled

a guest
Jun 18th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. BOOL result = ORDER_HANDLER_GUI.Create(OrderHandlerGUI::IDD, AfxGetMainWnd());
  2. int error = ::GetLastError();
  3.  
  4. if(result)
  5. AfxMessageBox("Created GUI");
  6. else
  7. {
  8. CString msg;
  9. msg.Format("%d", error);
  10. AfxMessageBox("Could not create GUI");
  11. AfxMessageBox(msg);
  12. }
Add Comment
Please, Sign In to add comment