title: Wrapping COM/DCOM DLL with JNI
body: <p>I searched for almost 2 hours for any example with complete code, but could not find anything that works. The issue is this: I have a C++ COM DLL that can comunicate with old MSJava, and I need to replace the MSJava with Sun/Oracle Java. Since the MSJava does not use JNI, the DLL is not JNI prepared. I plan to make another C++ DLL that implements JNI and from this call the old DLL. It's doable? Any advices? Examples? Thanks everyone. (If this is a duplicate please send me the link from the article)</p>