Jump to content

  • Log In with Google      Sign In   
  • Create Account

opengl crash in ddhelp.exe


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 a_question   Members   -  Reputation: 122

Like
Likes
Like

Posted 07 January 2002 - 02:29 PM

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...

Sponsor:

#2 seregsarn   Members   -  Reputation: 122

Like
Likes
Like

Posted 07 January 2002 - 03:16 PM

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

#3 a_question   Members   -  Reputation: 122

Like
Likes
Like

Posted 07 January 2002 - 03:55 PM

Hmnm, thats good to know about ddhelp.exe - thanks :-)

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



#4 mkaltner   Members   -  Reputation: 122

Like
Likes
Like

Posted 08 January 2002 - 05:30 AM

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

#5 a_question   Members   -  Reputation: 122

Like
Likes
Like

Posted 09 January 2002 - 03:18 AM

> 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.



#6 Lukerd   Members   -  Reputation: 122

Like
Likes
Like

Posted 09 January 2002 - 03:37 AM

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"





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS