Hi there,
I need to call a dll file that was written in VB.Net, in my java application using the jacob [com.jacob.com] ,
after successfully registering the dll file, I am trying to instantiate an ActiveXComponent object using my dll, :
ActiveXComponent myComp = new ActiveXComponent("Myfile.dllfile");
where Myfile.dllfile is currently placed in regedit under HKCR,
but running the application give me the following exception :
com.jacob.com.ComFailException: Can't co-create object
at com.jacob.com.Dispatch.createInstance(Native Method)
any help please? what I am missing.
Thanks in advance.