https://bugs.winehq.org/show_bug.cgi?id=46610
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|pdfelement 6 failing to |PDFelement 6 crashes on |start with error: |startup |typelib_ps_CreateStub | |Failed to create stub | Component|ole32 |-unknown
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Actually, after "winetricks -q dotnet40" the error message persists - so pretty sure that's not it.
Sidenote: The program doesn't install in a 64bit WINEPREFIX. Then you also need "winetricks riched20" or you get a different crash.
The problematic C# code is:
[DllImport("MSFTEDIT.DLL", EntryPoint = "CreateTextServices", ExactSpelling = true)] private static extern int a([MarshalAs(UnmanagedType.Interface)] object A_0, [In] IntPtr A_1, [MarshalAs(UnmanagedType.Interface)] out object A_2);
[DllImport("MSFTEDIT.DLL", EntryPoint = "CreateTextServices", ExactSpelling = true)] private static extern int a([MarshalAs(UnmanagedType.Interface)] object A_0, [MarshalAs(UnmanagedType.Interface)] [In] ITextHost A_1, [MarshalAs(UnmanagedType.Interface)] out object A_2);
Maybe a problem with marshalling in mono?