Software Archive
Read-only legacy content
17061 Discussions

VRAM Pointer on Windows Vista

vikram7984
Beginner
356 Views

I have a application which accesses the Video Memorypointer to perform some video memory read write operations.

The method we use to access the VRAM pointer is as follows

1.Create an Instance of DirectDraw object using DirectDrawCreateEx()

2.Determine the top level behaviour using SetCooperativeLevel()

3.Retrive the current display mode using GetDisplayMode()

4.Get the available Video Memory using GetAvailableVidMem()

5.Create a DirectDraw surface using CreateSurface()

6.Obtain a pointer to surface memory by locking the DirectDraw surface

7.Unlock the surface.

But on some Vista machines the Direct Draw acceleration is not available so I get the error "A hardware only DirectDraw object creation was attempted but the driver did not support any hardware."

Is this a problem with the graphics card or graphics driver?

The card, driver versionand OS that I have tried on is

Intel G965 Express Chipset- igdumd32.dll (7.14.0010.1147 date-2006/12/12)- Vista Home

If this is not a hardware problem can you suggest some other method to access the VRAM pointer?

Regards

Vikram

0 Kudos
0 Replies
Reply