February 22, 2005
Has anyone been able to accomplish calling a D function from Java using JNI?

Or is this a limitation of not being able to make shared libs / dlls with DMD?  Theoretically, could GDC make a .so lib and then all we'd have to deal with is the JNI javah portion of the task?

BA
February 22, 2005
D is able to create DLL on Win32. I have tried it, it works smoothly.
(Really it seems easier to me than C++ does it.)
Check the sample D programs in the dmd.zip file.

So I think JNI interface should be accesible, but I am not sure how.

Tamas Nagy

In article <cvepjo$2748$1@digitaldaemon.com>, Brad Anderson says...
>
>Has anyone been able to accomplish calling a D function from Java using JNI?
>
>Or is this a limitation of not being able to make shared libs / dlls with DMD?  Theoretically, could GDC make a .so lib and then all we'd have to deal with is the JNI javah portion of the task?
>
>BA