Accessing a Hidden Object of an OCX Control

FirebirdGuy

Member
Joined
Aug 21, 2003
Messages
5
Here is my question, I have a control designed by a third party which runs on my application but hides most of its underlying functionality from the main control API. This control communicates with an external server using a hidden protocol and requests images (A Webcam Viewer you may have already guessed). Each image is received from a server and displayed to the user on what I believe is a Picture box or some graphical display object well hidden within the Viewer. Is there a way for me to get the memory address of this Viewer and then actually read from memory the image that is displayed on this control since the control provides no way of accessing it from the API? I find it awful that this image is sitting somewhere in memory and I can only access it by keeping the control visible on the desktop and then using GDI, GDI+, or BitBlt to crop the desktop at that controls location. Any help on this subject would be most helpful.
 
Back
Top