Greetings,
I'm new to using mono. I have a Windows application that I have developed
in C# with some P/Invoke calls to an unmanaged dll. I am attempting to run
this thing in a Linux environment, but am having issues with the unamanged
calls (exact error is given below). After a fair amount of G
Yes, you should compile your dll in the environment in which it will run, or
use a cross compiler targeted to that environment.
If you don't have the source I suspect you are out of luck. There is much
more to it than simply fiddling with the headers. You may be able to use
something like wine, bu
On Mar 19, 2014, at 12:33 AM, Greg wrote:
> I believe the calls are failing because the unamanged dll has not been
> compiled in the native environment. Is this true, or should mono be able to
> handle unmanaged dlls that were compiled in Windows?
Mono does not support unmanaged shared librari
> If that isn’t possible, you should look into using Wine. Mono should run atop
> Wine (last I heard…), so this may be a viable solution for you.
The default for Wine nowadays (since 1.5 or so) is to install Mono
automatically (for various reasons, it uses a special Windows build)
and use it to r
Thanks all for the replies. I ended up going back to the source of the
library and getting the source code. Built in my Linux environment and
working just fine now.
On Fri, Mar 28, 2014 at 9:53 AM, Jonathan Pryor [via Mono] <
ml-node+s1490590n4662386...@n4.nabble.com> wrote:
> On Mar 19, 2014,