"\My Documents\OOP\project1\p1.cpp(84) : error C2440: '=' : cannot convert from 'void *' to 'struct queueNode *'
Conversion from 'void*' to pointer to non-'void' requires an explicit cast"
--> when you call malloc you are not casting to the pointer type you need. All calls to...
Well here is my 2 cents...
I played with JNI for a bit with both C++ and Delphi.
In order for it to work with Delphi all I had to do was hunt down the appropriate files to include with the DLL (which were really just the C++ header files converted into Object Pascal format) and that worked fine...
You have to use the JNI (JAVA Native Interface) API.
I did it a while back and I don't remember exactly how it's done but one of the things that really bothered me about it is that you have to write the function specifically for JAVA that you are calling (the function declaration is whacky too)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.