Hi all,
I am writing code for calling dll functions from
java. I am using JNA (Java native access) library for it.
There is one function in DLL which takes Delphi record (just like structure in C) as argument.
For this I created a class having attributes same as that of in delphi record & passed its object as argument
while calling that DLL function.But I am getting java.lang.IllegalArgumentException.
I understand that a C like structure in java is nothing but a class itself. But is there any other type or class
from Java collection similar to record in Delphi?
Thanks.
Regards,
Saurabh