opengl crash in ddhelp.exe

Started by
4 comments, last by a_question 22 years, 3 months ago
I''ve been doing some OpenGL/MFC programming, and recently ive been getting some weird problems. Im hoping someone can help me out. I''m using the projects/demos from NeHe''s site and http://pws.prserv.net/mfcogl/ (suggested by people in this ng) as my templates, and every once and awhile upon running/debugging a project I will get one of the following a) crash in ddhelp.exe - from this point on _NO_ program will run from visual c - every thread exits with error code -1, or it will crash again in ddhelp.exe. Dont ask me why ddhelp.exe is being run when i debug a visual c app either :-) As soon as I reboot its ok untill it happens again. b) No response what so ever, it will take 1 minute or so before a dialog comes up telling me my OpenGL app isnt responding. Until this dialog comes up and I kill it, my system is basically unusable - ie no resources. Most of the time I need to reboot to get back control. Additional Info: 1) The above happens even if I dont add my own code to the above projects - so its not something im doing incorectly. 2) No Virus - Ive run f-prot, McAfee and Norton - all come up clean. 3) I doubt its a secondary program, as I did a fresh install of win98 today (it was past do, figured this was good excuse) - problem still persists after complete install. 4) Currenlty my system basically clean - Win98, Visual Studio 6.0, full windows update. All progs store bought - no pir8. 5) Video Card is GeForce2 MX 200 with the newest drives from Nvidia. So there ya go - I know this is a shot in the dark, but does anyone have any ideas (anything)? Ive programmed alot, but am new to OpenGL, but if this keeps up I''m just gonna switch to DirectX Thanks in advance...
Advertisement
DDhelp is a window~1 service that handles some assorted display stuff. If your program crashes, it sometimes leaves ddhelp running, and then subsequent programs can''t run a new instance of it. If you pop open the WINDOW~1 task manager (or a handy equivalent, like for example the "process viewer" application that comes with MSVS), you''ll see ddhelp listed. Select it and hit "kill process", and you should be able to run stuff again.

If that doesn''t work, then you just have to restart. Sorry. ;P
-----------------"I understand your concern. Request denied."
Hmnm, thats good to know about ddhelp.exe - thanks :-)

Oh, and I downloaded sp5 for vc6++ and it didnt make a difference.

It happens when your program terminates before cleanly shutting down all direct3d objects.

- Mike

EDIT: So if you're not shutting them down, do so. If you are, set a breakpoint in the cleanup function and see if you reach it. If you don't....fix it. =)

Edited by - mkaltner on January 8, 2002 12:32:42 PM
"The important thing to remember when programming is: When you're 90% complete, there's still 50% more to go."
> It happens when your program terminates before cleanly shutting down all direct3d objects

That would make sence except, afaik, Im not using any Direct3D objects. I just downloaded a skeleton app for MFC from the aforementioned site.

I assumed the one I found on the net was good. Does anyone have a skeleton windowed mfc app that they no works?

Anyway, thanks for the suggetion.

I used to have this problem on win 98 but not on 2k I think it is VC++6 or somthing must be using DirectX. Try reinstalling DirectX thats what windows help says (Windows Help Useful? Could never happen)

"To err is human, to really mess up requires a computer"
"To err is human, to really mess up requires a computer"

This topic is closed to new replies.

Advertisement