[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Java and COM (Component Object Model)?

In case you didn't get answers to this question yet: There are a couple of 
tools that you can use for the purpose.



I'm using software from The Jawin Project at 
http://jawinproject.sourceforge.net/. I'm using it to access scriptable 
(IDispatch) components. You can use it in a type-less manner and it can also 
generate nice Java stubs for typed access. It would be nice to have it as a 
plug-in in Eclipse but it works well as an external tool.



Eric Rizzo tells me in "Accessing com objects" thread on eclipse.tools.jdk 
group here that he is using JNIWrapper from www.jniwrapper.com. There also 
is EZJcom from www.ezjcom.com.



Also, I've been unable to find download of Java-Com-Bridge, could you give 
me a link please?



Then you can always write your own JNI library to access your components, 
which you can do in C++. There is nothing special with COM calls as compared 
to other native calls. Except for all the work and debugging required J



Mikael



"Mr. Burns" <Mr._Burns@xxxxxx> wrote in message 
news:dio4ne$tj0$1@xxxxxxxxxxxxxxxxxxx
> Hello,
>
> I have developed a C++ COM object. This COM object I want to access out of 
> JAVA.
> What is the right way do do? Is the Java-Com-Bridge the only way? If there 
> is another way which one is to recommend?
>
> Code snipped would be nice,
>
> thanks a lot,
>
> Mr. Burns
>