mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-07 03:15:00 -06:00
4.46 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
a145bfc7cf
commit
c574fc0f4b
@@ -45,7 +45,7 @@ struct CThreadDelete
|
||||
return 0;
|
||||
}
|
||||
|
||||
static DWORD WINAPI MyThreadFunction(void *param)
|
||||
static THREAD_FUNC_DECL MyThreadFunction(void *param)
|
||||
{
|
||||
return ((CThreadDelete *)param)->Process();
|
||||
}
|
||||
@@ -211,8 +211,8 @@ void CPanel::DeleteItemsInternal(CRecordVector<UInt32> &indices)
|
||||
deleter.FolderOperations = folderOperations;
|
||||
deleter.Indices = indices;
|
||||
|
||||
CThread thread;
|
||||
if (!thread.Create(CThreadDelete::MyThreadFunction, &deleter))
|
||||
NWindows::CThread thread;
|
||||
if (thread.Create(CThreadDelete::MyThreadFunction, &deleter) != S_OK)
|
||||
throw 271824;
|
||||
deleter.UpdateCallbackSpec->StartProgressDialog(progressTitle);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user