[Moonlight-list] P/Invoke
Stefanos A.
stapostol at gmail.com
Fri Oct 9 03:53:38 EDT 2009
On Thu, 2009-10-08 at 12:33 +0300, Andrus wrote:
> > Will it be possible to do p/invoke in Moonlight? I'd like to p/invoke to
> > the
> > OpenAL c++ dll for audio in an online game. Thanks.
>
> You can convert Moonligh application to Mono exe using XAP->EXE converter
> from
>
> http://www.csscript.net/
>
> or code from
>
> http://blogs.microsoft.co.il/blogs/tamir/archive/2008/05/02/stand-alone-multiplatform-silverlight-application.aspx
>
> After that your appl runs in trusted environment and you can make any
> calls.
> Mono does not have any .NET Code Access secutity so you appl
> can do everything which user can.
In case this is not clear, Moonlight/Silverlight do *not* support
p/invoking native code. This process will convert your Moonlight
application into a Mono executable that the user will have to download
and execute offline.
More information about the Moonlight-list
mailing list