http://bugs.winehq.org/show_bug.cgi?id=5174
Summary: macom2.dll does not work with wine dcom Product: Wine Version: 0.9.12. Platform: PC URL: http://www-user.zmt.uni- bremen.de/~ulf/macom2_winebug.zip OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-ole AssignedTo: wine-bugs@winehq.org ReportedBy: ulf.mehlig@gmx.net
MaCom2.dll is a library providing functions for building ecological forest models developed by H. Hildenbrandt and U. Berger at the Centre for Tropical Marine Ecology in Bremen, Germany. MaCom2 is not open source at the moment but is freely available on request from the authors.
Library functions are called from a user-supplied script (using, e.g., Python) and DCOM. At the moment, running under wine is possible only with Microsoft's dcom98.
Here is what I do to install it:
- install python2.4.3 (needs Microsoft's msiexec) + pywin32 - register the dll (gdiplus.dll has to be available when doing this)
regsvr32 MaCom2.dll
- call the script, e.g.
wine /home/ulf/.wine/drive_c/Program\ Files/Python24/pythonw.exe SimpleForest_3species.py
The program does not start correctly:
[...] warn:ole:ITypeComp_fnBind did not find member with name L"Init", flags 0x2! warn:ole:ITypeComp_fnBind did not find member with name L"Init", flags 0x4! warn:ole:ITypeComp_fnBind did not find member with name L"Init", flags 0x8! err:ole:ITypeInfo_fnInvoke did not find member id 1, flags 0x2! Traceback (most recent call last): File "SimpleForest_3species.py", line 8, in ? m.Init(w=110, h=110, scale=3) TypeError: Init() got an unexpected keyword argument 'w' fixme:ole:ITypeInfo_fnRelease destroy child objects
The full log from a call with WINEDEBUG=warn+all is found together with MaCom2.dll and an example script at the URL given above.
When installing dcom98 as described in
http://wiki.winehq.org/NativeDcom?highlight=%28dcom%29