[Mono-devel-list] Can I use Microsoft's DLL's on the Win32 platform?
Pete Gonzalez
pgonzalez at bluel.com
Mon Apr 25 23:36:43 EDT 2005
Miguel de Icaza wrote:
> You wont be able to assemblies that come from the .NET framework with
> Mono.
>
> Many of these assemblies use internal calls to the virtual machine, and
> are hence non-portable or use COM which is not supported by Mono.
>
> Third party libraries will work, but you need to look at its
> dependencies on a case-by-case basis.
Is it reasonable to assume that cases of "internal calls" and "using COM"
are always accompanied by the text string "MethodImplOptions.InternalCall"
in the MSIL? If so, then I did a quick search for "InternalCall" in my
application's DLL's, and other than a couple COM interfaces in
Accessibility.dll, the "non-portable" stuff seems to be entirely confined
to mscorlib.dll.
How good is Mono's emulation of mscorlib.dll? If it's reasonably complete,
then maybe this isn't such a Herculean task. :-)
Also, the "NotImplementedException" error must be coming from a Mono
library, not a Microsoft one, right? How do I see where mono.exe is
loading its DLL's from, and how do I redirect it to use the Microsoft ones?
Thanks,
-Pete
__
Accessibility.dll: Accessibility.IAccessible
Accessibility.dll: Accessibility.IAccessibleHandler
mscorlib.dll: Microsoft.Win32.OAVariantLib
mscorlib.dll: System.AppDomain
mscorlib.dll: System.AppDomainSetup
mscorlib.dll: System.ArgIterator
mscorlib.dll: System.Array
mscorlib.dll: System.BCLDebug
mscorlib.dll: System.BitConverter
mscorlib.dll: System.Buffer
mscorlib.dll: System.Char
mscorlib.dll: System.ConfigServer
mscorlib.dll: System.Console
mscorlib.dll: System.Convert
mscorlib.dll: System.Currency
mscorlib.dll: System.CurrentSystemTimeZone
mscorlib.dll: System.DateTime
mscorlib.dll: System.Decimal
mscorlib.dll: System.DefaultBinder
mscorlib.dll: System.Delegate
mscorlib.dll: System.Double
mscorlib.dll: System.Enum
mscorlib.dll: System.Environment
mscorlib.dll: System.Exception
mscorlib.dll: System.GC
mscorlib.dll: System.Guid
mscorlib.dll: System.MarshalByRefObject
mscorlib.dll: System.Math
mscorlib.dll: System.MissingFieldException
mscorlib.dll: System.MissingMemberException
mscorlib.dll: System.MissingMethodException
mscorlib.dll: System.Number
mscorlib.dll: System.Object
mscorlib.dll: System.ParseNumbers
mscorlib.dll: System.RuntimeMethodHandle
mscorlib.dll: System.RuntimeType
mscorlib.dll: System.Single
mscorlib.dll: System.String
mscorlib.dll: System.Type
mscorlib.dll: System.TypedReference
mscorlib.dll: System.TypeLoadException
mscorlib.dll: System.ValueType
mscorlib.dll: System.Variant
mscorlib.dll: System.Diagnostics.Assert
mscorlib.dll: System.Diagnostics.Debugger
mscorlib.dll: System.Diagnostics.Log
mscorlib.dll: System.Diagnostics.StackTrace
mscorlib.dll: System.Globalization.Calendar
mscorlib.dll: System.Globalization.CalendarTable
mscorlib.dll: System.Globalization.CharacterInfo
mscorlib.dll: System.Globalization.CompareInfo
mscorlib.dll: System.Globalization.CultureInfo
mscorlib.dll: System.Globalization.CultureTable
mscorlib.dll: System.Globalization.EncodingTable
mscorlib.dll: System.Globalization.GlobalizationAssembly
mscorlib.dll: System.Globalization.RegionTable
mscorlib.dll: System.Globalization.SortKey
mscorlib.dll: System.Globalization.TextInfo
mscorlib.dll: System.IO.FileLoadException
mscorlib.dll: System.IO.FileStream
mscorlib.dll: System.IO.Path
mscorlib.dll: System.IO.IsolatedStorage.IsolatedStorage
mscorlib.dll: System.IO.IsolatedStorage.IsolatedStorageFile
mscorlib.dll: System.Reflection.Assembly
mscorlib.dll: System.Reflection.AssemblyName
mscorlib.dll: System.Reflection.CustomAttribute
mscorlib.dll: System.Reflection.Module
mscorlib.dll: System.Reflection.RuntimeConstructorInfo
mscorlib.dll: System.Reflection.RuntimeEventInfo
mscorlib.dll: System.Reflection.RuntimeFieldInfo
mscorlib.dll: System.Reflection.RuntimeMethodInfo
mscorlib.dll: System.Reflection.RuntimePropertyInfo
mscorlib.dll: System.Reflection.StrongNameKeyPair
mscorlib.dll: System.Reflection.Emit.MethodRental
mscorlib.dll: System.Reflection.Emit.SignatureHelper
mscorlib.dll: System.Reflection.Emit.TypeBuilder
mscorlib.dll: System.Runtime.CompilerServices.RuntimeHelpers
mscorlib.dll: System.Runtime.InteropServices.ArrayWithOffset
mscorlib.dll: System.Runtime.InteropServices.ExtensibleClassFactory
mscorlib.dll: System.Runtime.InteropServices.GCHandle
mscorlib.dll: System.Runtime.InteropServices.Marshal
mscorlib.dll: System.Runtime.InteropServices.RegistrationServices
mscorlib.dll: System.Runtime.InteropServices.RuntimeEnvironment
mscorlib.dll: System.Runtime.InteropServices.TypeLibConverter
mscorlib.dll: System.Runtime.Remoting.RemotingServices
mscorlib.dll: System.Runtime.Remoting.Channels.ChannelServices
mscorlib.dll: System.Runtime.Remoting.Contexts.Context
mscorlib.dll: System.Runtime.Remoting.Messaging.Message
mscorlib.dll: System.Runtime.Remoting.Messaging.StackBuilderSink
mscorlib.dll: System.Runtime.Remoting.Proxies.RealProxy
mscorlib.dll: System.Runtime.Serialization.FormatterServices
mscorlib.dll: System.Security.CodeAccessSecurityEngine
mscorlib.dll: System.Security.FrameSecurityDescriptor
mscorlib.dll: System.Security.PolicyManager
mscorlib.dll: System.Security.SecurityManager
mscorlib.dll: System.Security.SecurityRuntime
mscorlib.dll: System.Security.Cryptography.__CSPHandleProtector
mscorlib.dll: System.Security.Cryptography.__HashHandleProtector
mscorlib.dll: System.Security.Cryptography.__KeyHandleProtector
mscorlib.dll: System.Security.Cryptography.CryptoAPITransform
mscorlib.dll: System.Security.Cryptography.DESCryptoServiceProvider
mscorlib.dll: System.Security.Cryptography.DSACryptoServiceProvider
mscorlib.dll: System.Security.Cryptography.MD5CryptoServiceProvider
mscorlib.dll: System.Security.Cryptography.PasswordDeriveBytes
mscorlib.dll: System.Security.Cryptography.RC2CryptoServiceProvider
mscorlib.dll: System.Security.Cryptography.RNGCryptoServiceProvider
mscorlib.dll: System.Security.Cryptography.RSACryptoServiceProvider
mscorlib.dll: System.Security.Cryptography.SHA1CryptoServiceProvider
mscorlib.dll: System.Security.Cryptography.TripleDESCryptoServiceProvider
mscorlib.dll: System.Security.Cryptography.X509Certificates.X509Certificate
mscorlib.dll: System.Security.Permissions.FileIOAccess
mscorlib.dll: System.Security.Policy.Hash
mscorlib.dll: System.Security.Policy.Zone
mscorlib.dll: System.Security.Principal.WindowsIdentity
mscorlib.dll: System.Security.Principal.WindowsImpersonationContext
mscorlib.dll: System.Security.Principal.WindowsPrincipal
mscorlib.dll: System.Security.Util.Config
mscorlib.dll: System.Security.Util.StringExpressionSet
mscorlib.dll: System.Security.Util.URLString
mscorlib.dll: System.Text.CodePageEncoding
mscorlib.dll: System.Text.GB18030Encoding
mscorlib.dll: System.Text.MLangCodePageEncoding
mscorlib.dll: System.Text.StringBuilder
mscorlib.dll: System.Threading.AutoResetEvent
mscorlib.dll: System.Threading.Interlocked
mscorlib.dll: System.Threading.ManualResetEvent
mscorlib.dll: System.Threading.Monitor
mscorlib.dll: System.Threading.Mutex
mscorlib.dll: System.Threading.Overlapped
mscorlib.dll: System.Threading.ReaderWriterLock
mscorlib.dll: System.Threading.RegisteredWaitHandle
mscorlib.dll: System.Threading.Thread
mscorlib.dll: System.Threading.ThreadPool
mscorlib.dll: System.Threading.Timer
mscorlib.dll: System.Threading.WaitHandle
More information about the Mono-devel-list
mailing list