Huw D M Davies wrote:
You're right, an MSFT stdole32 might work fine - I guess we should at least try it. So for fun I've attached the program we used to generate CrossOver's stdole32.tlb (Actually you need to take the generated file and wrap it up in a resource only dll, but that's a detail). Since it was designed to be compiled with MSVC, it uses the L"" construct for olestrings - you can hack around this by compiling with -fshort-wchar for now.
I tried to change CreateTypeLib to CreateTypeLib2 and running it with Wine DLLs. It produced bunch of FIXMEs, but generated the type library in the end. The result is attached. Compared to the type library generated using the same executable with Windows DLL only two bytes differ. Is there some type library dump program that can be used to find out what are the differences or am I left alone and should I try to find out the actual differences other way?
- Filip
fixme:typelib2:ctl2_encode_typedesc Array vartype, hacking badly. fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ctl2_encode_typedesc Unrecognized type 12. fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc (00257CD8,0,0022FE90), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc {1610612736,00000000,0022FD80,1,1,4,2,0,0,0,{25},1} fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ICreateTypeInfo2_fnSetFuncAndParamNames (00257CD8,0,L"QueryInterface",3), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc (00257CD8,1,0022FE90), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc {1610612737,00000000,00000000,1,1,4,0,0,0,0,{19},1} fixme:typelib2:ICreateTypeInfo2_fnSetFuncAndParamNames (00257CD8,1,L"AddRef",1), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc (00257CD8,2,0022FE90), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc {1610612738,00000000,00000000,1,1,4,0,0,0,0,{19},1} fixme:typelib2:ICreateTypeInfo2_fnSetFuncAndParamNames (00257CD8,2,L"Release",1), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc (00259F08,0,0022FE90), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc {1610678272,00000000,0022FD80,1,1,4,1,0,0,0,{25},1} fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ICreateTypeInfo2_fnSetFuncAndParamNames (00259F08,0,L"GetTypeInfoCount",2), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc (00259F08,1,0022FE90), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc {1610678273,00000000,0022FD80,1,1,4,3,0,0,0,{25},1} fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ICreateTypeInfo2_fnSetFuncAndParamNames (00259F08,1,L"GetTypeInfo",4), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc (00259F08,2,0022FE90), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc {1610678274,00000000,0022FD80,1,1,4,5,0,0,0,{25},1} fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ICreateTypeInfo2_fnSetFuncAndParamNames (00259F08,2,L"GetIDsOfNames",6), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc (00259F08,3,0022FE90), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc {1610678275,00000000,0022FD80,1,1,4,8,0,0,0,{25},1} fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ctl2_encode_typedesc Unrecognized type 12. fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ICreateTypeInfo2_fnSetFuncAndParamNames (00259F08,3,L"Invoke",9), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc (0025C138,0,0022FE90), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc {1610678272,00000000,0022FD80,1,1,4,3,0,0,0,{25},0} fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ctl2_encode_typedesc Unrecognized type 12. fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ICreateTypeInfo2_fnSetFuncAndParamNames (0025C138,0,L"Next",4), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc (0025C138,1,0022FE90), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc {1610678273,00000000,0022FD80,1,1,4,1,0,0,0,{25},0} fixme:typelib2:ICreateTypeInfo2_fnSetFuncAndParamNames (0025C138,1,L"Skip",2), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc (0025C138,2,0022FE90), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc {1610678274,00000000,00000000,1,1,4,0,0,0,0,{25},0} fixme:typelib2:ICreateTypeInfo2_fnSetFuncAndParamNames (0025C138,2,L"Reset",1), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc (0025C138,3,0022FE90), stub! fixme:typelib2:ICreateTypeInfo2_fnAddFuncDesc {1610678275,00000000,0022FD80,1,1,4,1,0,0,0,{25},0} fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ICreateTypeInfo2_fnSetFuncAndParamNames (0025C138,3,L"Clone",2), stub!