Post

 Resources 

Console


My old card did that... PyroBoy (1 reply, 0 views) (2000-Aug-3)
-
I had a problem with that too(maybe I still do... I haven't tried it without the fix since I got a new vidcard)... The problem I had seemed to be that SetDisplayMode was knocking DirectDraw out of exclusive mode. Even though both SetCooperativeLevel and SetDisplayMode return DD_OK, doesn't mean everthing is DD_OK!! :-) Even a call to CheckCooperativeLevel right before the offending line returned DD_OK. I think it may be a driver problem, but the solution is just to call SetCooperativeLevel again right before you create the primary surface. Seems to do the trick, and so far I've had no problems with it giving me "you've already set the coop level" errors. Another thing... On my machine it only happened when the app was compiled, and was totally fine in the VB IDE. Is that what it's doing to you too? Hope this whole mess gets cleaned up in DirectGraphics...


-
Up One Level | Back to Forum

RE: My old card did that... Adam Hoult (0 replies) (2000-Aug-3)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 28 visitors within the last 20 minutes
RSS News Feed