[Moonlight-list] P/Invoke
Sebastien Pouliot
sebastien.pouliot at gmail.com
Wed Oct 7 13:14:31 EDT 2009
On Wed, 2009-10-07 at 09:06 -0700, quattro wrote:
> I had posted this previously but didn't get a response, any ideas?
Posted where ? I don't see any previous email from your email address on
this list.
> Will it be possible to do p/invoke in Moonlight?
No, just like Silverlight it won't be possible from the plugin.
User/application code is prohibited from calling platform code, defining
internal calls, unsafe code... because all of those actions would break
the sandbox offered by CoreCLR.
> I'd like to p/invoke to the
> OpenAL c++ dll for audio in an online game. Thanks.
You can use most of Moonlight assemblies/features from a "desktop"
application. In that case CoreCLR is not enabled and you'll be able to
pinvoke whatever you like (but that won't be hosted inside a web
browser).
Sebastien
More information about the Moonlight-list
mailing list