digitalmars.D - Re: Writing a library
- Mn <mn mailinator.com> Feb 17 2007
Mn Wrote:Hello World! Is it possible to write a library in D that can be used by other programming languages? And if yes, how to do it? I can think of two ways of "using" a lib in general: 1. The OOP way: use a class of the lib, then its functions, dunno how its called. 2. The Un-OOP way: use a function of a lib, its called P/Invoke in C#. I am only interested in the more popular languages like C, C++, Java, C#, PHP. Greetings and thank you. -- Mn
Just a pointer for myself: http://www.digitalmars.com/d/dll.html DLLs are for Windows afaik, what do I use under Linux?
Feb 17 2007