Jedhi Posted October 6, 2003 Posted October 6, 2003 Would it be possible to make a DLL that can be used on different platforms windows xp, linux etc ? The DLL would be written in C# or C++ as a class library project, or are there any other methods ? Quote
*Experts* mutant Posted October 6, 2003 *Experts* Posted October 6, 2003 Any program written in .NET language should run on all platforms that can support .NET framework. Right now only Windows can fully support it, but implementations for other platforms are coming. Quote
Jedhi Posted October 6, 2003 Author Posted October 6, 2003 Would it be any advantage writing a DLL in ansi-c ? I mean how else would you support operating system like linux ? Quote
*Experts* Volte Posted October 6, 2003 *Experts* Posted October 6, 2003 If you are planning on fully supporting Linux, and you write in C or C++, you will need to write versions for both OS (due to differences in system calls and such). If it is a very simple DLL, however, it will probably compile as-is on either OS. If you write in .NET, there is the possibility of some inconsistencies, but if the framework implementation is written well, the code should compile. It's up to you. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.