Windows environment...
Ive been progging in C++ lately and Ive been wondering...since WinXP is running in protected mode and wont let you directly access hardware (R.I.P. DOS), how do you make your Graphics, sound, and input functions work in a Windows environment? I know there are other libraries out there that I could just use instead of starting my own, but my immediate goal isnt to use them, but to learn how things work "behind the scenes".
I promise my first born child to anyone who can point me in the direction of some tutorials that explain about how to do these things in a windows environment...That offer is only pending if you answer now! Time is of the essence!
I cant think of a decent signature right now...try back later...MUCH later.
You can''t. If you want direct access to hardware you''ll have to go to DOS, or some other non-Windows OS that doesn''t restrict low level hardware access. There''s no getting around it. You''ll have to use DirectX or something similar.
What he is asking, how does an API like DirectX/OpenGL get direct access to the hardware? He wants to know how they work, what they do to access the hardware, etc. Not what lib he should use.
Be answer the question: I do not know how DirectX, OpenGL do it. But I assume Windows must have some way of letting these API''s access the hardware.
Sand Hawk
Be answer the question: I do not know how DirectX, OpenGL do it. But I assume Windows must have some way of letting these API''s access the hardware.
Sand Hawk
DirectX talks directly to the video card''s device driver, which talks to the hardware. If you want to talk to the hardware, you have to be a device driver.
Check out MSDN for authoritative information on device driver development.
How appropriate. You fight like a cow.
Check out MSDN for authoritative information on device driver development.
How appropriate. You fight like a cow.
Not EVEN authoritative... you''ll need a book or a class for drivers... unless you''re a freakin'' genious who understands everything anyway.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement