2014-02-07 15:22 GMT+01:00 Edward Ned Harvey (mono) < [email protected]>:
> > I may be wrong, but I think: > > If you write a DLL in C, then it's not usable in C# except by dropping > down to Win32, in which case, you might as well just give up and use C. > Likewise, if you build a DLL in C#, you cannot use it in C, but you could > use C++ .NET. > Well, you are partially wrong :-) On Linux/Unix, if you write C code, you can build a shared object (with the extension .so) that is essentially a DLL, that can be called from C# (Mono) with the same mechanism you would use under Win32. If you write your code carefully, you can use the same sources and just have different build environments for Windows and Linux. m.
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
