I need to call functions in a .dll file that was written in C# from Java. I've found that I can call functions in a C++ dll by going through the Java Native Interface (JNI). In theory, I should be able to go from a C++ wrapper to C++/CLI and then into C#, but I'm having trouble with it. One article I found was doing this with managed C++, but I'm not sure if its still possible through .NET using C++/CLI?
Does anyone know if it is actually possible to run functions in a C# dll from Java this way?
I'm running Visual Studio 2005 Professional.
Thanks!