problems with exec("rundll32.exe shell32.dll...")
Andrew.Ferguson@arm.com
Andrew.Ferguson@arm.com
Tue May 20 12:12:00 GMT 2003
hi,
I'm having trouble getting the code below to execute once compiled with
gcj (~3.3 I think). Running under straight java works fine, but the
produced .exe says
Error in shell32.dll
Missing entry: "ShellExec_RunDLL"
any help would be really appreciated,
thanks,
asjf
import java.io.*;
public class GCJTest {
public static void main(String [] arg) throws Exception {
Runtime.getRuntime().exec("rundll32.exe shell32.dll
ShellExec_RunDLL "+new File(arg[0]).getAbsolutePath());
}
}
More information about the Java
mailing list