jni

i create a file .dll with delphi where there is a system call which start powerpoint. PowerPointApplication.Activate; When i call this .dll with jni in java, powerpoint doesn't start... Why? How can i resolve it?
[234 byte] By [perzema] at [2007-10-2 10:56:28]
# 1
Most of the forum members cannot read minds (though some come close) so without looking at your code it is going to be difficult to say what is wrong.
sabre150a at 2007-7-13 3:21:35 > top of Java-index,Java Essentials,Java Programming...
# 2

You can use JDIC for the Desktop integration rather than writing your own .dlls

You can use simply the open method of the Desktop Object to open a Powererpoint Document. This Method uses the default Application associated with Powerpoint files.

See:

https://jdic.dev.java.net/nonav/documentation/javadoc/jdic/org/jdesktop/jdic/desktop/Desktop.html#open(java.io.File)

For License questions see https://jdic.dev.java.net/

andiha at 2007-7-13 3:21:35 > top of Java-index,Java Essentials,Java Programming...