I am trying to link running ActiveX object as OleControlSite object to COM object.
I am trying to link running ActiveX object as OleControlSite object to COM object.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Short answer: you can’t.
ActiveX/COM uses low-level C++ pointers and relies heavily on Microsoft runtime support. The Java JVM completely virtualizes away these kinds of low-level, OS- and system-specific details.
There are Java::COM/ActiveX bridges available.
You could probably also write your own JNI interface to one or another specific COM/ActiveX call.