Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Wrapping C++ code in a DLL for use in Java

  • 05-08-2004 3:43pm
    #1
    Closed Accounts Posts: 196 ✭✭


    Hi, i've tried google-ing this to death and i've found so many sites which teach how to wrap c++ code into DLLs for use in VB, ActiveX DLLs, MFC DLLs etc

    But i haven't found one tutorial for java.

    What i've done is, i've mirrored the tutorial for VB and tried to use it for Java using JNI n' all, i think my errors have come from packaging my C++ code and it's not the JNI side.

    I've been using VC++ 6.0 Standard Edition, all i want to do is write a little C++ which which simply takes in two ints from java, adds them in the C++ DLL and pass back the summation of the two to Java.

    Does anyone know any good tutorials or sample code for this boy?


Comments

Advertisement