mirror of
https://github.com/Xevion/easy7zip.git
synced 2026-02-01 10:24:11 -06:00
4.46 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
a145bfc7cf
commit
c574fc0f4b
@@ -253,7 +253,7 @@ struct CThreadCrc
|
||||
return 0;
|
||||
}
|
||||
|
||||
static DWORD WINAPI MyThreadFunction(void *param)
|
||||
static THREAD_FUNC_DECL MyThreadFunction(void *param)
|
||||
{
|
||||
return ((CThreadCrc *)param)->Process();
|
||||
}
|
||||
@@ -303,9 +303,9 @@ void CApp::CalculateCrc()
|
||||
progressDialog.MainTitle = progressWindowTitle;
|
||||
progressDialog.MainAddTitle = title + UString(L" ");
|
||||
|
||||
CThread thread;
|
||||
if (!thread.Create(CThreadCrc::MyThreadFunction, &combiner))
|
||||
throw 271824;
|
||||
NWindows::CThread thread;
|
||||
if (thread.Create(CThreadCrc::MyThreadFunction, &combiner) != S_OK)
|
||||
return;
|
||||
progressDialog.Create(title, _window);
|
||||
|
||||
if (combiner.Result != S_OK)
|
||||
|
||||
Reference in New Issue
Block a user