I have a quite simple question: Is it possible to implement an MFC Dll into a Java application?
Joined: Jan 29, 2003
Not directly. Java can call out to C or C++ modules that are specially written to know how to interact with Java. Google for tutorials on the Java Native Interface, also known as JNI. You could write native methods that call a special C module that calls the MFC libraries.
This is the price we pay for platform portability. Java does not know how to do OS specific things, like call out to native programs. When you write JNI you give up portability. Mostly. I think.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi