http://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2007-09-28 10:47:54 --- This seems to be part of the problem: 000c:Call TYPELIB.15: OABUILDVERSION() ret=131f:3492 ds=11ef fixme:ole:OaBuildVersion16 If you get version error messages, please report them 000c:Call KERNEL32.GetVersion() ret=7b183604 000c:Ret KERNEL32.GetVersion() retval=08930005 ret=7b183604 fixme:ole:OaBuildVersion16 Version value not known yet. Please investigate it! 000c:Ret TYPELIB.15: OABUILDVERSION() retval=00000000 ret=131f:3492 ds=11ef
You can probably hack dlls/oleaut32/typelib16.c to return something that makes it happy. I don't know for sure what that would be, but in the default case, instead of "return 0;", try "return MAKELONG(4277, 40);" instead.
Frankly, I'm not sure that typelib.dll should return a different version depending on the Wine version we're emulating. Returning a relatively recent version should work in all cases, yes?