To offer ActiveX-Support in Jabaco it is necessary to create an ActiveX-Container-Control. This control should be the base for handling ActiveX in Jabaco. I'll pay
300 USD for a control that solves the ActiveX-problem and could be published exclusive under the Jabaco-License within the open source Jabaco-Framework.
This offer is just an experiment. I would like to know if it is possible to solve such issues in this way.
What should be done
I need a generic solution to work with ActiveX in a pure Java-Software. It should be run standalone without any other compilers or other commercial tools). There are two possible solutions to solve this issue (let me know if you see another one):
The first possible solution:
Create a Java-Control that could be used in this way:
|
Java source code
|
1
2
3
4
5
6
7
8
9
|
class Test {
public static void main(String args[])
JFrame myFrame = new JFrame();
ActiveXContainer myContainer = new ActiveXContainer('CLSID OR CLASSNAME');
myContainer.addActionListener(new ComActionListener() { public void actionPerformed(ComActionEvent e) {} });
myFrame.add(myContainer);
Object ret = myContainer.invoke('method', ParamList);
}
}
|
A very good base for starting such a control is
http://java.sys-con.com/node/48177 (
source at sf).
Second possible solution:
A tool that automatically generates Java wrapper classes for an ActiveX control.
Send me a private message if you would like to start the job or if you have any questions. I'll remove this posting in few weeks or if someone send me a good solution.