diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c index 07e0f50d0e9..3df04216f67 100644 --- a/dlls/ole32/compobj.c +++ b/dlls/ole32/compobj.c @@ -724,7 +724,7 @@ HRESULT apartment_createwindowifneeded(struct apartment *apt) { HWND hwnd = CreateWindowW(wszAptWinClass, NULL, 0, 0, 0, 0, 0, - 0, 0, OLE32_hInstance, NULL); + HWND_MESSAGE, 0, OLE32_hInstance, NULL); if (!hwnd) { ERR("CreateWindow failed with error %d\n", GetLastError());