This software was done in part for a textbook on AI I ve written called _The Basis of AI_ (tentative title, subject to change but not if I get my way). For details see: http://www.mcs.com/~drt/basisofai.html
Addfilter is a command-line application which adds and removes filter drivers for a given drive or volume. It is intended to demonstrate how to insert a filter driver into the driver stack of a device. The sample illustrates how to do this by using the SetupDi APIs. The sample works on both x86 and Alpha platforms. It has only been tested in a 32-bit environment. Since Addfilter is not a driver, it does not deal with Plug and Play or Power Management.
FPFilter is a sample disk filter driver that demonstrates how a disk failure prediction filter driver could be implemented. A failure prediction filter driver can predict when a disk may fail and notify the disk driver stack of this condition.
The flpydisk sample is a floppy driver that resides in the directory \\Ntddk\Src\Storage\Fdc\Flpydsk. It is similar to a class driver in that it sits a level above the floppy disk controller in the driver stack, and brokers communication between the application level and the low-level driver. The floppy driver takes commands from the application and then calls routines in the controller which will in turn perform the actual interaction with the device. The sample compiles in 64-bit, but has not been tested in this environment. It is compatible with x86 and Alpha platforms.
gperiodic is a program for browsing the periodic table and looking up data for different elements. It also features a non-graphical interface. gperiodicOrb是一個瀏覽元素周期表和查詢不同元素的數據的程序。它有一個非圖形化的界面。
How to run: 1. compile Callback.java 2. compile the native code into a shared lib cl /Ie:\j2sdk1.4.0\include /Ie:\j2sdk1.4.0\include\win32 /LD /FeMyImpOfCallback.dll Callback.c 3. run: java Callback
Invoke JavaProg.main() from a win32 program: . compile Main.java . compile VC project . set include path for jni.h, which is under java_Home\include . set linking path for jvm.lib, which is under java_Home\lib\jvm.lib . copy Main.class and Main$1.class to the working dir of the VC project (or the same dir with the output executable App.exe) . run App.exe . set searching path for jvm.dll