// copying a file to a new one using the Windows API
import com.eaio.nativecall.*;
NativeCall.init();
IntCall ic = new IntCall("CopyFileA");
ic.executeCall(new Object[] { "test.txt", "test_copy.txt", Boolean.FALSE });
ic.destroy();
See http://johannburkard.de/software/nativecall/
Written and compiled by Réal Gagnon ©1998-2012
[ home ]