http://bugs.winehq.org/show_bug.cgi?id=6847
--- Comment #10 from tom schorpp thomas.schorpp@googlemail.com 2008-01-09 19:35:55 --- schorpp@tom1:/usr/local/src/eech-new$ grep -i ole /mnt/dos2/Razorworks/cohokum/wine.log 0009:Call PE DLL (proc=0x7ea0fcb0,module=0x7e9a0000 L"ole32.dll",reason=WINE_PREATTACH,res=(nil)) 0009:Ret PE DLL (proc=0x7ea0fcb0,module=0x7e9a0000 L"ole32.dll",reason=WINE_PREATTACH,res=(nil)) retval=1 0009:Call PE DLL (proc=0x7ea0fcb0,module=0x7e9a0000 L"ole32.dll",reason=PROCESS_ATTACH,res=0x1) 0009:Call KERNEL32.__wine_dll_register_16(7ea2bb78,7ea11d8d "ole2.dll") ret=7e9afea7 0009:Call KERNEL32.__wine_dll_register_16(7ea2d424,7ea1269c "ole2conv.dll") ret=7e9affb3 0009:Call KERNEL32.__wine_dll_register_16(7ea2d5c8,7ea126fe "ole2nls.dll") ret=7e9b017b 0009:Call KERNEL32.__wine_dll_register_16(7ea2dae0,7ea12723 "ole2prox.dll") ret=7e9b01df 0009:Call KERNEL32.__wine_dll_register_16(7ea2dbe0,7ea12742 "ole2thk.dll") ret=7e9b02cf 0009:Ret PE DLL (proc=0x7ea0fcb0,module=0x7e9a0000 L"ole32.dll",reason=PROCESS_ATTACH,res=0x1) retval=1 0009:Call ole32.CoInitializeEx(00000000,00000000) ret=00401028 0009:Ret ole32.CoInitializeEx() retval=00000000 ret=00401028 000c:Call PE DLL (proc=0x7ea0fcb0,module=0x7e9a0000 L"ole32.dll",reason=THREAD_ATTACH,res=(nil)) 000c:Ret PE DLL (proc=0x7ea0fcb0,module=0x7e9a0000 L"ole32.dll",reason=THREAD_ATTACH,res=(nil)) retval=1 000d:Call PE DLL (proc=0x7ea0fcb0,module=0x7e9a0000 L"ole32.dll",reason=THREAD_ATTACH,res=(nil)) 000d:Ret PE DLL (proc=0x7ea0fcb0,module=0x7e9a0000 L"ole32.dll",reason=THREAD_ATTACH,res=(nil)) retval=1 000c:Call gdi32.wglGetProcAddress(7e100a8c "glGetBooleanv") ret=7e08cf17 000c:Call ole32.CoCreateInstance(0094e21c,00000000,00000001,0094e22c,00782a4c) ret=0042bc31 err:ole:CoCreateInstance apartment not initialised 000c:Ret ole32.CoCreateInstance() retval=800401f0 ret=0042bc31 000c:Call ole32.CoCreateInstance(0094e2dc,00000000,00000001,0094e2ec,00782a48) ret=0042bbbf err:ole:CoCreateInstance apartment not initialised 000c:Ret ole32.CoCreateInstance() retval=800401f0 ret=0042bbbf
800401F0 CoInitialize(Ex) has not been called.
??? http://msdn2.microsoft.com/en-us/library/ms678543(VS.85).aspx COM CoInitialize Initializes the COM library on the current thread and identifies the concurrency model as single-thread apartment (STA). Applications must initialize the COM library before they can call COM library functions other than CoGetMalloc and memory allocation functions. New applications should call CoInitializeEx instead of CoInitialize.
CoInitializeEx (retval is 00000000, S_OK) or CoCreateInstance in Wine buggy. Searching or filing new Wine COM bug and try to work around EECH by using the old CoInitialize().
y tom