I have to admit that the last time I programmed in Java was a data structure class in high school. So please be kind to this Java noob.
I spent a lot of time building the C # COM library at work. This library relies heavily on some new .Net technologies (WPF is big), so translating into another language is actually not an option. I tested this library from C ++ through the COM interface, and it was quite simple. I would also like to prove that the same library can be used from a Java program.
So, the problem I am facing is that I cannot find a free or even inexpensive way to use COM objects from Java. I think another solution would be to find a way to directly integrate the library. Does anyone have any input on what might be the best way to do this? I am using Eclipse for my java environment. Below is an example of what my C # code looks like. Thanks for any direction you can provide.
//Example C
source share