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