[Mono-dev] Mono and ole32.dll

Quandary quandary82 at hailmail.net
Thu Jun 9 14:11:42 EDT 2011

What exactly are you trying to accomplish ?
What's that COM-dll supposed to do ?
Is it really irreplacable ?
In my experience, it was never necessary, except to accomplish windows
specific things, such as switching off the windows firewall, in which
case a simple if(!Environment.OSVersion.Platform == Platformid.Unix)
would suffice.

Using COM is however not a recommended practice. If there is another
way, you should use that one.
For embedding browsers and office file-format interop, there are other ways.

On 06/09/2011 10:13 AM, cosmin.ciuraru wrote:
> Hello,
> Is there any way I can use the ole32.dll in Mono for Linux? I have a project
> that uses COM and at runtime I get the error:
> Unhandled Exception: System.DllNotFoundException: ole32.dll 
> http://go-mono.com/forums/#nabble-td1527901 This post  is dated back to 2007
> and I think Mono has COM support now, but how can I use this specific
> Windows library in Linux?
> Thank you!
> --
> View this message in context: http://mono.1490590.n4.nabble.com/Mono-and-ole32-dll-tp3584820p3584820.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

More information about the Mono-devel-list mailing list