Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Anybody know how to access video memory in C++

Recently I have been trying to write some games using the Win32 project in C++.net. Unfortunately, the graphics I made run very slow if I use the setpixel() command. I really do not want to use OpenGL or Direct3D because it does everything for you. I was wondering if anybody knew how to directly access the video memory on the graphic card. If anybody knows, could you reply or send me an E-Mail. Thanks.

Comments

  • kc2keokc2keo Member Posts: 110
    Well I know that pointers give one control over the main memory but I'm not sure about video.

    Heres something with DirectX video programming:

    http://www.cpp-home.com/tutorial.php?303_1

    heres Another neat site I found just now.

    http://www.xmlindex.com/

    Bye hope this helps,
    George
    <------------------------------------------>

    Reach me at:

    AIM IM: kc2keo
    EMAIL: kc2keo@yahoo.com

  • ze0nyxze0nyx Member Posts: 2
    : Recently I have been trying to write some games using the Win32 project in C++.net. Unfortunately, the graphics I made run very slow if I use the setpixel() command. I really do not want to use OpenGL or Direct3D because it does everything for you. I was wondering if anybody knew how to directly access the video memory on the graphic card. If anybody knows, could you reply or send me an E-Mail. Thanks.
    :
    huh man in win32 u r in protected mode and the os restricts access to such places in memory. if you could everyone wolud do it
Sign In or Register to comment.