Microsoft SDK for Java

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

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 Microsoft® Visual C++® command-line compiler, CL.EXE.

MORE INFORMATION

Things to note:

REFERENCES

For more information on 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/ This link takes you to a site on microsoft.com

http://support.microsoft.com/support/java/ This link takes you to a site on microsoft.com

© 1999 Microsoft Corporation. All rights reserved. Terms of use.