native for MS Visual J++

How can I load my dll in MS Visual J++.
I guess I should include in my code some function.
What is this function ?
SuperMaxAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
gadioConnect With a Mentor Commented:
SuperMax, in order to use native interfacing to the machine with MSVJ++, you need to use the MS RNI mechanisem and if you need UI, the J/Direct. Note however that the RNI (raw native interface) is -*not*- portable. It is Microsoft propriatry interface. If you will ever want to port this code you had better use the JNI interface that is the original SUN Java Native Interface. If you don't have to work with the VJ++ I'd recomend you to use another IDE, and gain the portability. If you want to learn about RNI the microsoft site has many examples. Try http://www.microsoft.com/visualj/techmat/feature/nov97/vjp97b6.htm . About J/Direct try http://www.microsoft.com/workshop/languages/java/jdirect.asp . About the JNI, download the java tutorial at http://java.sun.com/docs/books/tutorial/ .
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.