[Mono-dev] Linux: can I access a .NET 4.0 DLL from regular DLL running an EXE under Wine?
Vincent Povirk
madewokherd at gmail.com
Sat Nov 2 00:29:45 UTC 2013
> The executable file calls a standard Windows DLL, which in turn accesses a
> .NET 4.0 DLL. At the point that this .NET 4.0 DLL is first accessed, the
> app will crash (obviously, since Wine doesn't know of .NET).
This case is within Wine's scope, and Wine ships with a build of Mono
for this purpose. See http://wiki.winehq.org/Mono. The MS
implementation of the .NET Framework can also be installed and tends
to work better.
> I did try Wine's regsvr32 to register the .NET DLLs, but as I expected it
> failed. What I really need is the Mono / Wine / Linux equivalent of
> regasm.exe (that's how these .NET 4.0 DLLs are registered on Windows).
We don't have a replacement for regasm yet, but depending on the
extent of your program's needs, you might be able to use a .reg and
.tlb file from regasm on Windows.
Is this software publicly available? It could be a useful test case
for COM integration.
More information about the Mono-devel-list
mailing list