http://bugs.winehq.org/show_bug.cgi?id=24201
Summary: Visual C++ 2008 Express frequently hangs trying compile a project. Product: Wine Version: 1.3.1 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: ole32 AssignedTo: wine-bugs@winehq.org ReportedBy: xerox_xerox2000@yahoo.co.uk
I tried to compile a simple project: http://www.cplusplus.com/files/wininc.zip
Steps to reproduce: Install from VC Express 2008 only VCExpress, _without_ installing native dotnet stuff.
Do 'winetricks msxml6" Fire up wine VCExpress.exe. After a few complaints the GUI comes up. Do Open->New Project and open the .dsw file from the link above.
After Build->Build Solution the compilation mostly hangs. It succeeded for me only one time out of many attempts. Also Cleaning the project didn't work.
I found a simple solution to fix the problem: On the console there were a few fixme:CoGetCallerTID
Changing the returncode from E_NOTIMPL to E_FAIL seems to fix all the problems
I'll see if i can write a test for this function, to see if i can improve the stub. AnyOne have hints what this function does, as it seems to be undocumented
diff --git a/dlls/ole32/ole2stubs.c b/dlls/ole32/ole2stubs.c index b029a86..d0199b7 100644 --- a/dlls/ole32/ole2stubs.c +++ b/dlls/ole32/ole2stubs.c @@ -126,7 +126,7 @@ HRESULT WINAPI OleRegEnumFormatEtc ( HRESULT WINAPI CoGetCallerTID(LPDWORD lpdwTID) { FIXME("stub!\n"); - return E_NOTIMPL; + return E_FAIL; }
/***********************************************************************