[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.programming

Java is the best !

Ramine

12/31/2015 11:35:00 PM


Hello,


Here is my JNI wrapper for FreePascal and Delphi that i have enhanced much..

It's for Java, because I have choosen Java and Java is the best !


JNI Wrapper for Delphi and FreePascal version 2.83


Authors: Jonathan Revusky, Amine Moulay Ramdane and Salvatore Meschini.

Email: aminer@videotron.ca

Description:

This JNI Wrapper for Delphi and FreePascal provides a powerful and
simplified object-oriented API for doing mixed language programming in
Java and Delphi (Object Pascal language) or FreePascal. This may provide
an easier and more productive way of getting Win32 and Win64 features in
Java projects and integrating legacy code (at least for the Delphi or
FreePascal community). Please read the readme file inside the zip file
to learn more.

I have noticed that JNIWapper for Delphi and FreePascal was not
supporting returning of String and Arrays types from Java, so i have
implemented that and i have now enhanced JNI Wrapper to be very powerful
, so it's now supporting all the necessary functions and methods and
and much more... hope you will happy with it cause i have worked hard to
bring this new 2.83 to you, it is really now a professional software of
a good quality.

Also i have enhanced more JNI Wrapper and ported it to 64 bit and to
both FreePascal and the Delphi XE versions, here is the functions that i
have implemented and added:

function JstringArrayToDTStrings(jarr : JArray) : TStrings;
function JdoubleArrayToDdoubleArray(jarr : JdoubleArray) : TDdoubleArray;
function JfloatArrayToDsingleArray(jarr : JFloatArray) : TDsingleArray;
function JcharArrayToDwordArray(jarr : JCharArray) : TDwordArray;
function JbyteArrayToDshortintArray(jarr : JByteArray) : TDshortintArray;
function JshortArrayToDsmallintArray(jarr : JShortArray) : TDsmallintArray;
function JbooleanArrayToDbooleanArray(jarr : JBooleanArray) :
TDbooleanArray;

And don't forget to call TJavaVM.freeRef() method from Delphi or
FreePascal when you need to garbage collect and free the memory that was
allocated.

Language: FPC Pascal v2.2.0+ / Delphi XE+: http://www.freep...

Operating Systems: Windows.



You can download it from:

https://sites.google.com/site/aminer68/jni-wrapper-for-delphi-and-...




Thank you,
Amine Moulay Ramdane.