Dll

Jedhi

Centurion
Joined
Oct 2, 2003
Messages
127
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 ?
 
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.
 
Would it be any advantage writing a DLL in ansi-c ?

I mean how else would you support operating system like linux ?
 
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.
 
Back
Top