Solved

native for MS Visual J++

Posted on 1998-08-13
1
288 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

806 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