Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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 ?

  • *Experts*
Posted
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.
  • *Experts*
Posted
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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...