fatal error on Nehe Tut 14
Hi!
I just did a FPS counter and whenever i hit escape to exit, when in windowed mode, i get a fatal error. I tried this in nehe tut 14 and i get the same problem. Is there a known issue about this or am I the only one with that bug ?
Thx
Kiroke
www.geocities.com/kiroke2
Kirokewww.geocities.com/kiroke2
I was able to download and run the #14 MSVC code with no problems. What exactly is the "fatal error" message you''re getting?
---------------Delphi 6 Personal Edition, free for non-commercial use.
The message is the one you get whenever something bugs in windows like " This program will close because it has performed an illegal operation" or somthing like this( mine is in french). I have the option to "debug" the program but when i hit that button windows freeze.
I also noticed that i get that bug when i hit the F1 key. Note that i get no errors when in fullscreen mode.
Thx for your help
Kiroke
www.geocities.com/kiroke2
I also noticed that i get that bug when i hit the F1 key. Note that i get no errors when in fullscreen mode.
Thx for your help
Kiroke
www.geocities.com/kiroke2
Kirokewww.geocities.com/kiroke2
is it at the position
ChangeDisplaySettings(NULL,NULL) ?
possibly your windows does not like this if you''re not yet in a real mode in.. dunno..
ChangeDisplaySettings(NULL,NULL) ?
possibly your windows does not like this if you''re not yet in a real mode in.. dunno..
If that's not the help you're after then you're going to have to explain the problem better than what you have. - joanusdmentia
My Page davepermen.net | My Music on Bandcamp and on Soundcloud
Why don''t you debug your application.
Make a Debug build then from the menu go, Build->Start Debug->Go. When you hit escape to quit the app it should give an Unhandled Exception dialog box. Click Ok and it should show the line of code where it happens.
If the line of code looks okay then verify that the variables are valid (trying to use NULL pointers, etc.) You might have to use the CallStack to find the function that is passing bad data.
Remember programming is not just writing code, it''s also learning to use development tools to their fullest capacity.
Hope this helps.
Thx for your replies,
I tried debugging the application before but it gets me to some assembly code and I cant read that :-( Is there a way to see the code I actually typed?
I''ll try to download new drivers for my video card and ill repost if nothing change.
Kiroke
Kiroke
www.geocities.com/kiroke2
I tried debugging the application before but it gets me to some assembly code and I cant read that :-( Is there a way to see the code I actually typed?
I''ll try to download new drivers for my video card and ill repost if nothing change.
Kiroke
Kiroke
www.geocities.com/kiroke2
Kirokewww.geocities.com/kiroke2
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement