Rob Shearman : ole32: Always create a window for the main apartment.
Module: wine Branch: master Commit: f65e04770dc5748521a0de73814cea0b085bf3f8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f65e04770dc5748521a0de7381... Author: Rob Shearman <rob(a)codeweavers.com> Date: Fri Nov 30 18:06:07 2007 +0000 ole32: Always create a window for the main apartment. --- dlls/ole32/compobj.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c index bb10e9f..6cee5b9 100644 --- a/dlls/ole32/compobj.c +++ b/dlls/ole32/compobj.c @@ -305,6 +305,9 @@ static APARTMENT *apartment_get_or_create(DWORD model) } LeaveCriticalSection(&csApartment); + + if (apt->main) + apartment_createwindowifneeded(apt); } else {
participants (1)
-
Alexandre Julliard