Migliorata gestione messaggio WM_WAKEUP
git-svn-id: svn://10.65.10.50/trunk@5735 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
1e4993f301
commit
323e179c5d
@ -87,9 +87,11 @@ BOOL CSesadumpApp::InitInstance()
|
|||||||
SESA_WorkDir(strDir);
|
SESA_WorkDir(strDir);
|
||||||
SESA_DumpTable(strTable);
|
SESA_DumpTable(strTable);
|
||||||
|
|
||||||
|
#ifndef WIN32
|
||||||
const UINT WM_WAKEUP = RegisterWindowMessage("WAKEUP");
|
const UINT WM_WAKEUP = RegisterWindowMessage("WAKEUP");
|
||||||
//const HTASK ht = GetCurrentTask();
|
const HTASK ht = GetCurrentTask();
|
||||||
PostMessage(HWND_BROADCAST, WM_WAKEUP, 0 /*(WPARAM)ht*/, 0L);
|
PostMessage(HWND_BROADCAST, WM_WAKEUP, (WPARAM)ht, 0L);
|
||||||
|
#endif
|
||||||
|
|
||||||
return FALSE; // Batch mode
|
return FALSE; // Batch mode
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user