[Mono-devel-list] Creating a DLL for non-Windows platforms

Michi Henning michi at zeroc.com
Wed Aug 4 06:22:21 EDT 2004


> Hello!
>
> It is straightforward - assure that your declarations of DllImport
attribute
> work under Win (they do) and better have no ".dll" extension and use the
> very same dll with P/Invoke calls under linux. Should work - my dll's work
> this way.
>
> For details check Mono Handbook - Advnanced Topics P/Invoke - there is
> additional functionality which you do not need for this library -
> retargeting of library calls with dll .config files.

Thanks muchly -- that seems to do it.

Cheers,

Michi.

--
Michi Henning              Ph: +61 4 1118-2700
ZeroC, Inc.                http://www.zeroc.com
>





More information about the Mono-devel-list mailing list