Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / May 2004

Tip: Looking for answers? Try searching our database.

desktop issue

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nandrej - 13 May 2004 10:16 GMT
Hi!

I'm trying to read pixels, from desktop in windows.I managed to do so by creating DC with NULL pointer, so i gained access. I was able to read color information of pixels, like icons, applications. Problem is, that  i can't read any video or not even mouse pointer. i mean when i read a pixel in area, where a mpg is playing, i always get RGB(0,0,0),a black pixel.
Am i doing right? Are there better ways to do it? What i wanna do is, to copy part of the screen(pixel by pixel?) and send it via RS232 port.

Any suggestions?

thanx
Leith Bade - 14 May 2004 10:41 GMT
The movie issue is a common one, most desktop screen captures suffer the same problem

It is caused by hardware overlay, which means in order to reduce the cpu load, it sends the video straight into graphics memory, therefore bypassing Windows

To fix this in Windows Media Player (version 9), so it does use Windows to render the vieo, do this in Windows Media Player
In menu go Tools -> Options
Go to the Performance tab
Set the Video Acceleration slider to None

This should fix video

I'd say its similar with the mouse pointer but am unsure on how to fix it. I know it can be done as a lot of screen capture utilities have an option to allow it to capture the pointer

Hope it helps
nandrej - 14 May 2004 11:31 GMT
H

So i should read data straight from the video card memory
How could that be done

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.