HOWTO: Call Native (DLL) Code From Java Using JNI

ID: Q222092


The information in this article applies to:


SUMMARY

This article details the process of calling native C/C++ code (in a DLL) from Java using JNI (Java Native Interface). This article presumes a working knowledge of the Visual C++ command-line compiler, CL.EXE.


MORE INFORMATION

Things to note:

(c) Microsoft Corporation 1999, All Rights Reserved. Contributions by Joseph B. Hall, Microsoft Corporation.


REFERENCES

For more information on the the legal action brought by Sun regarding Microsoft's Java agreement, visit the Java lawsuit information center.

For the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, please see the following pages on the Microsoft Technical Support site:

http://support.microsoft.com/support/visualj/

http://support.microsoft.com/support/java/

Additional query words:


Keywords          : kbJavaVM kbJNative kbSDKJava kbVJ600 kbGrpJava 
Version           : WINDOWS:3.1,6.0
Platform          : WINDOWS 
Issue type        : kbhowto 

Last Reviewed: June 22, 1999