I need to adapt a simple function (let's say) int printText(string)
written using an MFC library (this function prints the text on a particular printer whose driver lib is completely developed by MFC), to two applications developed the first in LabView and the second in Java (Eclipse RCP).
I've thought that an ActiveX component is the right choice that could fit well in both applications, but I don't know where to begin.
Is there any one that can guide me in developing this simple ActiveX without dealing with all the flexibilities (i.e complexities) of ActiveX world? My component should be invisible, nothing more than a print
method that takes a string (and eventually another init
method to initialize the printer).