windowless ActiveX stream

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
hyperbit
New Cone
New Cone
Posts: 4
Joined: 28 Jan 2006 18:23

windowless ActiveX stream

Postby hyperbit » 28 Jan 2006 18:30

Hi

I managed to add the ActiveX control(0.8.4) to a Visual C++ project without any problems at all. Thanks for making this simple.

What I need to do for my application, is to *not* have the activeX window present on the screen, but to be able to get the images into a buffer instead. I will then process this buffer directly, and render myself.

From the API supplied, this is not possible. However, I can see in the source code of one of the nightly builds (0.8.5) that there is a function called "getPicture()". Ive never had any experience with cygwin or mingw, and my workload is so high, I dont have the time at the moment to learn how to cross compile.

Before anyone suggests that I hide the render window and grab the bitmap, I cant as the context is hidden (I have tried!)


Any help *greatly* appreciated.

Thanks in advance

John

tonsofpcs
Cone that earned his stripes
Cone that earned his stripes
Posts: 363
Joined: 04 Jan 2006 10:03
Location: Binghamton, NY, USA
Contact:

Postby tonsofpcs » 01 Feb 2006 01:41

What if rather than hiding it, you leave it visible but put something in front of it.

hyperbit
New Cone
New Cone
Posts: 4
Joined: 28 Jan 2006 18:23

Postby hyperbit » 03 Feb 2006 10:43

If I put something(a window) infront of it, and grab the bitmap I seem to grab the bitmap of the window that is in front of it.

tonsofpcs
Cone that earned his stripes
Cone that earned his stripes
Posts: 363
Joined: 04 Jan 2006 10:03
Location: Binghamton, NY, USA
Contact:

Postby tonsofpcs » 04 Feb 2006 17:04

Have you looked through the VLC source code?

hyperbit
New Cone
New Cone
Posts: 4
Joined: 28 Jan 2006 18:23

Postby hyperbit » 04 Feb 2006 18:11

Actually Ive only looked at the ActiveX source code, trying to find where the ActiveX gets the images, but am failing miserably. Im an embedded developer not a windows developer, and Im finding this rather difficult.

Any pointers *greatly* appreciated


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 7 guests