Guest User

Untitled

a guest
Jun 18th, 2019
65
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CMyProgressBar has a member m_thDownload.
  2.  
  3. void CMyProgressBar::DoDataExchange(CDataExchange* pDX)
  4. {
  5. m_thDownload = std::thread(funDownload);
  6. }
  7.  
  8. void funDownloadAndInstall() {
  9. funDownload();
  10. funInstall();
  11. }
  12.  
  13. m_thDownload = std::thread(funDownloadAndInstall);
  14.  
  15. m_thDownload = std::thread([]() {
  16. funDownload();
  17. funInstall();
  18. });
RAW Paste Data