home *** CD-ROM | disk | FTP | other *** search
-
- This sample demonstrates use of the native interface of the Microsoft Java VM.
- Our methods are implemented in a .DLL. We access various methods and variables
- from native code. We also demonstrate GC-safe operations in native code.
-
- JMain's constructor loads our DLL file, and then proceeds to call various
- methods to demonstrate Java - native code interaction.
-
- CONTENTS:
-
- java\
- JMain.java
- JFoo.java
- JThread1.java
- JThread2.java
- makefile
-
- native\
- natlib.c
- makefile
-
- bin\
- javah.exe
-
- include\
- native.h
-
- lib\
- msjava.lib
-
- TO BUILD:
-
- nmake /a invokes the makefile in this subdirectory.
-
- TO RUN:
-
- cd binaries
- jview JMain
-