"Ignacio Machin ( .NET/ C# MVP )" wrote...
>
> You could register your DLL as a COM object, I'm not sure if you can
> consume COM objects from Jave though.
Sun had a Java-Com bridge available for download a couple of years ago. I
don't know if it's still available somewhere (I can't find it with a simple
search on Sun's site), but there are also some third party tools that will
do it, e.g. JIntegra:
http://j-integra.intrinsyc.com/
But there is also the more "down in the trenches" way of interoperability,
wrapping the calls to COM within a JNI native dll for java, via pure C/C++.
http://java.sun.com/j2se/1.5.0/docs/...jni/index.html
/// Bjorn A
> "Saurabh Sharma" <(E-Mail Removed)> wrote in message
> news:OTr$r$(E-Mail Removed)...
>> Hi
>>
>> I have a Project in C# which makes 4 dlls and takes 2 C# class of the
>> dlls and a string array as as an input and returns a string array.
>> I want to use these dlls in java. The dll also makes a Word Object.
>>
>> Please suggest a method to do it.
>> I know that convert from C# to MC++ to C++ to java
>>
>> But the problem with .netmodule is that its making of one class and not
>> of the dll or complete project.
>>
>> TIA
>>
>> Saurabh
>>
>>
>
>