Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


calling method within activex control ? ? ?

This topic is 5530 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all, Can anyone answer this question, I have an activex control sitting in a browser, is it possible to invoke it''s methods from outside of the browser ? Many thanks, Steve

Share this post

Link to post
Share on other sites
OLE - Object Linking and Embedding - the previous name for the group of technologies ActiveX is from.

The browser will have a COM/OLE interface, get that interface, that should let you get to the objects embedded in the browser window.

Alternatively just use the MFC AppWizard to make an app (or an interface DLL) which has an ActiveX Container, then load the control into the container.

Simon O''Connor
Creative Asylum Ltd

Share this post

Link to post
Share on other sites
Thanks Simon,

Getting the COM interface from the browser sounds the way to go. What I have is a communications DLL I have written which at the moment communicates to the ActiveX control in the browser via SendMessage (I just get the thread process ID). This is clunky, thus I want to be able to call methods within the ax control from the communications DLL.
Others ways I''ve looked at communicating between the two processes is to have a third application sitting in the middle which communicates to the two other processes via a socket.

Kind regards,

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!