Link to home
Start Free TrialLog in
Avatar of ruben kon
ruben kon

asked on

Access a C++/.Net SDK from in Java Netbeans

Hi,
I am trying to use an SDK that is developed as a .NET DLL in Visual C/C++ in a Java development environment using Netbeans.

I want to use JNA and have been using the JNAerator to generate the java classes using the .h file of the library that I have received with the SDK. I think I have overcome the compile errors in the library and am now trying to get a sample program running. But when I call the functions it gives me all kind of errors. First of all the functions need to be called with pointers to structures that are being filled. I am not able to get java compiled without warnings/errors.

Is there anybody that has experience with using JNA and C/C++ dlls in Netbeans?
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

I could take a quick look if you post a zip of the whole thing somewhere
. First of all the functions need to be called with pointers to structures that are being filled.
But Java doesn't have pointers ...
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.