If you have the source code, you should be able to use Java ActiveX bridge. it works both ways.Winmain could be another option