Advertisement
pushrbx

Untitled

Nov 25th, 2013
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.55 KB | None | 0 0
  1. std::stringstream ss;
  2. ss << path << " - " << ".NET Framework Initialization Error";
  3. std::string strTitle = ss.str();
  4. ss.str(std::string());
  5. ss.clear();
  6. ss << "To run this application, you first must install one of the following versions of the .NET Framework:";
  7. ss << std::endl << " v4.0.30319" << std::endl << "Contact your application publisher for instructions about";
  8. ss << " obtaining the appropriate version of .NET Framework.";
  9. std::string text = ss.str();
  10. ::MessageBox(NULL, text.c_str(), strTitle.c_str(), MB_OK | MB_ICONERROR);
  11. ss.clear();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement