Using COM component in Java application
-
Could somebody tell me that in a Java application,how to call methods in a COM component?
William
-
Could somebody tell me that in a Java application,how to call methods in a COM component?
William
Java provides JNI - java native interface. this is the only way to communicate between Java - Win32 paltfoprms. But JNI needs win32 components as pure win32 dlls and it doesnt understand COM components. So write a win32 dll wrpper over the com component and use it. cheers..Milton KB
-
Could somebody tell me that in a Java application,how to call methods in a COM component?
William
-
Thanks.
William
-
Java provides JNI - java native interface. this is the only way to communicate between Java - Win32 paltfoprms. But JNI needs win32 components as pure win32 dlls and it doesnt understand COM components. So write a win32 dll wrpper over the com component and use it. cheers..Milton KB
Thank you so much for your help. But I really need a simple way to call a method in a COM object from a Java application.
William