Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Slow Video Display problem, maybe DDCAPS.dwCaps prob?

Status
Not open for further replies.

oinky

Programmer
Oct 29, 2001
45
US
Hi here is my situation. My application takes a bitmap and displays it to the screen in windowed mode(ie not fullscreen). The display was working fine and video was being updated very fast. However, something happened and my program crashed. Now when i run the program again, the video is being displayed very slowy. It used to take 15 msec to do one display, now it takes 670 msec for a display. I looked at the DDCAPS.dwCaps flags in directx to see what was wrong. I have my program running on 2 different machines. The machine that displays fast has a dwCaps value of 0x15427b41, and the machine that displays slow has a dwCaps value of 0x04427840. I tried setting these values in my code but it crashes when I do that. I am on nt 4 sp6, and using sadly directx 3 since nt only has dx 3. Please if any1 can help i would really appreciate it. Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top