I've sorted it out! Thanks!
It's all working!! Pretty cool once it's all going - but not much fun trying to work it out :)
The answer in the end, was to put the generated header file (from javah) into the C++ DLL that was wrapper-ing my VB DLL. Then do a System.loadLibrary on the C++ DLL...
Thanks for your reply :)
I've made alot of progress since yesterday - I've written a C++ DLL wrapper for my VB DLL and have *attempted* to call it via JNI - I'm getting an "UnsatisfiedLinkError". I've followed the Sun JNI example...
Any ideas on how to call a public method from a Visual Basic ActiveX DLL/EXE in Java?
I've looked all over the place, and the only thing that's close (so far - besides buying a 3rd party product at $1000's ) is to wrapper the VB DLL with a C++ one ... but I'm also having problems getting C++ to...
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.