Tuesday, May 24, 2005

Tell the Java VM to Load the DLL

Tell the Java VM to Load the DLL:
public class HelloWorld
{
private static native void writeHelloWorldToStdout();
public static void main(String[] args)
{
System.loadLibrary('HelloWorld'); writeHelloWorldToStdout();
}
}

0 Comments:

Post a Comment

<< Home