PDA

View Full Version : Buffer Access Problem-get pixel?



diddiemme
March 11, 2004, 23:09:51
Hello everybody,
Is it possible to integrate the gdi fuction GetPixel with the montivision tecnology in a visual basic project?
Wich handler i need to pass to this function?
I suppose that I have to use something about Mv Buffer Access but i can't understand how...

Actually I have this code:

GetPixel(MotionPic.hdc, Px + Repeat, Py + Repeat)

where MotionPic is the picturebox object where I plan to insert my video.

I'm not an excellent programmer, so I'm warried that this is only a general programming problem maybe OT.

I hope that someone could help me...
thank you
Daniele

Marc Cymontkowski
March 15, 2004, 09:45:07
Hi Daniele,

If you use the MontiVision Buffer Access filter, you get direct access to the image data and you do not need to use the GDI GetPixel() function. Please take a look at the BufferAccessVB6 sample on how to use the filter. Please contact support@montivision.com to get the latest version of the sample.


Best Regards,

Marc Cymontkowski