ole32: Always create a window for the main apartment.

Robert Shearman rob at codeweavers.com
Fri Nov 30 12:06:07 CST 2007


---
  dlls/ole32/compobj.c |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)

Otherwise, we'll get the following error message when attempting to host 
an object inside it:
err:ole:apartment_hostobject_in_hostapt host apartment didn't create window

Normal single-threaded apartments are ok because we can make more of 
them, but the main apartment is special.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b9d989c388c1233ba94493e3aa234ce58392b647.diff
Type: text/x-patch
Size: 403 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071130/256d0de1/attachment.bin 


More information about the wine-patches mailing list