Not sure which topic to put this in, but here goes....
I need to call a method in C# from within a java app. I don't want to use webservices or anything like that. I want to compile the C# intoa dll and be able to call that somehow from the Java app.
Can this be done? From my understanding I have to use c++ as the middleman. If this can be done, can someone recommend an exmaple or website on how to do this.
That sounds like something which can be done, yes. Don't know much about it, and other people probably know lots about it, but have a look in the JNI and see whether that helps.
It's actually not that bad -- as you need to write the c++ wrapper anyway, even to call a C/C++ library, just for the JNI calling convention. This is another step, but it is possible to have the managed C++ (.NET) code and the C++ code for JNI in the same file.
Awesome. Thanks for the responses, everyone. I'm not going to start this for a few weeks, but I'll take a look at the recommendations and will be back if I have issues. ;-)