[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.programming

JNI Wrapper for Delphi and FreePascal version 2.85

Ramine

3/4/2016 12:38:00 AM

Hello,


I have updated JNI Wrapper to version 2.85, i have
just corrected a bug in the jint datatype, before
jint datatype was of a 64 bit length when compiled with a
64 bit java compiler, now i have corrected it because it
must be 32 bit in both 64 bit java compiler and 32 bit java compiler,
and you can be confident now because i think JNI Wrapper
for Delphi and FreePascal version 2.85 is a stable version.

You can download JNI Wrapper for Delphi and FreePascal version 2.85
from:

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

JNI Wrapper for Delphi and FreePascal version 2.85

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.84 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.


Thank you,
Amine Moulay Ramdane.