msi: add dummy thread just to initialize an MTA; fixes bug 18070

Austin English austinenglish at gmail.com
Sun Jun 21 01:31:03 CDT 2009


On Sat, Jun 20, 2009 at 11:23 PM, Dan Kegel<dank at kegel.com> wrote:
> This gets Photoshop CS4 installer to start up.
> Per the suggestion in
> http://bugs.winehq.org/show_bug.cgi?id=18070#c6
>
> I am not worthy...


+DWORD WINAPI dummy_thread_proc(void *arg)
+{
+    DWORD dwWaitResult;
+
+    CoInitializeEx(0, COINIT_MULTITHREADED);
+
+    // Just wait forever for DLL to be unloaded.

Dan, you of all people should know, no C++ ;-).

-- 
-Austin



More information about the wine-devel mailing list