Calling DLL coded in D from Java
bitwise via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Jun 16 19:18:41 PDT 2015
On Tue, 16 Jun 2015 18:47:03 -0400, DlangLearner <Bystander at gmail.com>
wrote:
> I'd like to know if it is possible to call an DLL coded in D from Java?
What you're looking for is JNI (Java Native Interface).
If you export your D functions correctly, as you have done(extern(C)
export) then you can call them the same way you would a C DLL.
This tutorial seems like it may have what you need:
http://www.codeproject.com/Articles/2876/JNI-Basics
Bit
More information about the Digitalmars-d-learn
mailing list