![]()
Using Sun's ActiveX-Java Plugin With Visual C++ and MFC
The Java Plug-In from Sun, usually used to incorporate applets into web pages, turns JavaBeans into an ActiveX control that can be used in VisualBasic, C#, or C++. Unfortunately, the documentation on using these controls in MFC applications is spotty at best. Here I lay out my experiences with this powerful technology, include proper use of the IDispatch interface and events.