I came across this program in the C++ section. How to do something similar in C? Let me elaborate.
I want to read the colour values of individual pixels in at the rate of at least about 25Hz. I have a nVidia GeForce GTS450 graphic card and Windows 7 64-bit/Linux Mint 13 64-bit dual booting. I want to write a C program which would perform the said task and pass the values continuously to an Arduino through the USB. I can handle the Arduino part. But how do I get the values in the first place?
I know Windows 7 64-bit won't allow me to read the values directly from the graphic card. Is there any way I can do it using a C program and some other library?
How do I do the same in Linux Mint 64-bit?
Jump to Post
I came across this program in the C++ section. How to do something similar in C?
While that program is indeed written in C++, the conversion to C is trivial as the overall structure doesn't depend on anything specific to C++. The library being used is Windows' Win32 …
All 2 RepliesReply to this topic
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.