Solved

native for MS Visual J++

Posted on 1998-08-13
1
292 Views
Last Modified: 2013-11-23
How can I load my dll in MS Visual J++.
I guess I should include in my code some function.
What is this function ?
0
Comment
Question by:SuperMax
1 Comment
 
LVL 6

Accepted Solution

by:
gadio earned 50 total points
ID: 1232570
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
In this post we will learn different types of Android Layout and some basics of an Android App.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question