home *** CD-ROM | disk | FTP | other *** search
/ Chip Special: HTML & Java / Chip-Special_1997-01_HTML-a-Java.bin / javasdk / sdk-java.exe / SDKJava.cab / Samples / native_raw / readme < prev   
Encoding:
Text File  |  1996-10-10  |  684 b   |  39 lines

  1.  
  2. This sample demonstrates use of the native interface of the Microsoft Java VM.
  3. Our methods are implemented in a .DLL.  We access various methods and variables
  4. from native code.  We also demonstrate GC-safe operations in native code.
  5.  
  6. JMain's constructor loads our DLL file, and then proceeds to call various
  7. methods to demonstrate Java - native code interaction.
  8.  
  9. CONTENTS:
  10.  
  11.     java\
  12.         JMain.java
  13.         JFoo.java
  14.         JThread1.java
  15.         JThread2.java
  16.         makefile
  17.  
  18.     native\
  19.         natlib.c
  20.         makefile
  21.  
  22.     bin\
  23.         javah.exe
  24.  
  25.     include\
  26.         native.h
  27.  
  28.     lib\
  29.         msjava.lib
  30.  
  31. TO BUILD:
  32.  
  33.     nmake /a  invokes the makefile in this subdirectory.
  34.  
  35. TO RUN:
  36.  
  37.     cd binaries
  38.     jview JMain
  39.