Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Hunter-Killer

Serious issues in NeHe base code!

This topic is 6467 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I upgraded to Windows 2000 recently which is 32bit and runs in protected mode. Well after a week or so I started just rashing uinstanting when a program would do something. After a couple calls to Microsoft I learned that in NT when the software tries to gain access to the hardware it says "i dont think so" and kicks your ass out. There are 2 things I have found that cause this. One is starting a download with mutliple mirrors with DAP while running Media Player. The other is the fullscreen code used in every GL tutorial on this site. What happens is it tries to change the screen settings but the attempt gets half assed so windows returns an error and as soon as you try to create the message box it crashes. The tech said that 9x wasnt supposed to allow hardware control either but it was more tolerent than NT. The exact stop error is 0x0000001E. This really needs fixed. Hunter-Killer

Share this post


Link to post
Share on other sites
Advertisement
Read the disclaimer, what you call "half assed" has helped thousands of budding developers.

If you want to point out a bug, point it out. Don't go on some tirad against someone busting their hump to help us out.

As for your comments on Win2k. A large number of us DO use Win2k for our development, and I have yet to see anyone make comments such as yours. I have used the pascal equivalents of NeHe's code many times and never once caused access violations using his resolution or context code.

Care to explain a little with more patience and show us the bad segment instead of ranting?

Jason

Edited by - DeschutesCore on March 22, 2001 8:26:05 AM

Share this post


Link to post
Share on other sites
I''m not sure if I''d call this post ranting, but it doesn''t seem like it has a purpose. Is NeHe supposed to re-write all his programs for you? Perhaps if you could actually find the specific problem (and on of those error codes that M$ spits at you really isn''t of any use), then someone could fix it. I also use NT 5, and everything works fine for me.

On another note, I don''t even believe that there is any hardware access, or anything at all for that matter, done before fullscreen prompt. Your problem confuses me.

Share this post


Link to post
Share on other sites
NeHe has provided us with very good code. At the very leat you could be thankful instead of critical. If you see and "issue" point it out with the respect that NeHe deserves. Without NeHe you would be completely lost...

I think that a public apology is in order for NeHe...

If you are not man enough for that, then perhaps you should stop posting here all together if NeHe is so "troublesome" for you...

Share this post


Link to post
Share on other sites
actually, i have a problem w/ the fullscreen part too. the prog crashes and gives me a blue screen upon exit. what i do to fix it is to kill the window first and THEN reset the resolution. i think it''s more of a vid card driver issue(maybe ur card''s manufacture wrote poor drivers for win2k?). cuz this problem gets fixed if i turn off 3d accel.

btw, i''m using a viper2 on win2k.

life is unfair, take advantage of it.
UNMB2 - if the link doesn''t work, try clicking it

Share this post


Link to post
Share on other sites
quote:
Original post by Hunter-Killer

I upgraded to Windows 2000 recently which is 32bit and runs in protected mode.


Ehm..... Win9x does also run in protected mode and even win 3.11 runs in protected mode...

Share this post


Link to post
Share on other sites
Perhaps your sysadmin (if your''e not home)?? have restricted your permissions so you simply arn''t allowed to change the vidmode..

Btw, I code in win2k (pro) and I havn''t had any problems at all.



return 1;

Share this post


Link to post
Share on other sites
I''ve been running OpenGL fullscreen apps in Win2k for almost a year and haven''t had a single crash! My advise would be to use the debbuger to step through your program and find the exact function call that causes the crash. Then return here and post a usefull question that includes information like...
OS: Win9x, Win2k, etc...
Vid Card: GeForce2mx, Voodoo3 2000, S3 Virg/GX, etc...
Language: C/C++, VisualBasic, Pascal, etc...
Compiler: MSVC, Borland C++, Delphi, etc...
Error: i.e.
The code from nehe''s Lesson 1 tutorial crashes whenever it calls "somefunction" in fullscreen mode. Can anyone tell me why this is?

Then instead of getting ripped on you''ll probably get solutions to your problem.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!