https://www.oschina.net/p/jacob?hmsr=aladdin1e1
JACOB Java-COM中间件
package szprocessfacade.client;
import com.jacob.activeX.ActiveXComponent;
import com.jacob.com.Dispatch;
import com.jacob.com.Variant;
public class DispatchTest
{
public static void main(String[] args)
{
System.out.println(System.getProperty("java.library.path"));
ActiveXComponent xl = new ActiveXComponent("Excel.Application");
Dispatch xlo = xl.getObject();
try {
System.out.println("version="+xl.getProperty("Version"));
System.out.println("version="+Dispatch.get(xlo, "Version"));
xl.setProperty("Visible", new