|
|
@ -3001,8 +3001,7 @@ HWND Progress::open(HWND hCallerWnd, const TCHAR* header)
|
|
|
|
else
|
|
|
|
else
|
|
|
|
_tcscpy_s(_header, _countof(_header), cDefaultHeader);
|
|
|
|
_tcscpy_s(_header, _countof(_header), cDefaultHeader);
|
|
|
|
|
|
|
|
|
|
|
|
_hThread = ::CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)threadFunc,
|
|
|
|
_hThread = ::CreateThread(NULL, 0, threadFunc, this, 0, NULL);
|
|
|
|
(LPVOID)this, 0, NULL);
|
|
|
|
|
|
|
|
if (!_hThread)
|
|
|
|
if (!_hThread)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
::CloseHandle(_hActiveState);
|
|
|
|
::CloseHandle(_hActiveState);
|
|
|
|