我现有X.dll,我用java怎么创建这个动态库对象呢?

解决方案 »

  1.   

    这个挺方便的,不过就是必须要把 jacobX.dll放在特定目录下。
      

  2.   

    Do I need to compile Jacob to use it?
    No, you need only to install it. You can install it as an extension (see “What I should do if IIS/other crashed using Jacob?”) or as a part of your application. To do the latter:    put jacob.dll in a directory that Windows searches for libraries (Windows/System32 - or add your own directory to the PATH system variable);
        put jacob.jar in your CLASSPATH.是啊,不知道為啥,它還需要系統來反調它
      

  3.   

    哦也有放在jdk,tomcat bin目錄下的,說明系統未必會用到,可能只是爲了讓java端找到而已。http://blog.tianya.cn/blogger/post_read.asp?BlogID=2611393&PostID=21733725