PDA

View Full Version : Same code. Different results in Win 9x and NT



03-24-2002, 05:45 PM
Howdy

I've got a Win32 program that performs significantly different on Win 9x and NT. Specifically, textures aren't showing up at all in Win 9x, but the same exact program works perfectly in all flavors of NT and XP.

If it makes a difference, the program was built and developed on a Win2K box.

Thanks in advance.

Tim

T2k
03-25-2002, 02:59 AM
there shouldnt be a difference, except u use threads and forgot to set a thread relevant value, if u use _beginthread you HAVE to set the last parameter in the function (the ptr to thread identifier), if there is no var spcified (ZERO) it will run on NT/W2k but not on 98 ...

hoshi55
03-25-2002, 05:35 AM
probably it's not the OS but the grafix drivers that cause the problem. are you running all your windows OSs on the same machine or on different machines? try getting the latest drivers for all OSs

[This message has been edited by hoshi55 (edited 03-25-2002).]

03-25-2002, 10:31 AM
1) It's not a thread issue. This program is single-threaded
2) I really don't think it's a driver issue. I've received about 50 replys from testers, and nobody with 95, 98, 98SE, or ME has had any success. Everybody with Win2K and XP has seen perfect results.

If it makes a difference, I ported my program from GLUT to a pure Win32 interface. I think that has something to do with my problem (somehow) because it worked perfectly for all users when it was GLUT-based.

nexusone
03-25-2002, 10:52 AM
You could download the GLUT source for windows and look at how they setup a window.

Or just keep using GLUT and keep the cross platform feature it provides.

http://www.opengl.org/discussion_boards/ubb/smile.gif


Originally posted by DarkHelmet:
1) It's not a thread issue. This program is single-threaded
2) I really don't think it's a driver issue. I've received about 50 replys from testers, and nobody with 95, 98, 98SE, or ME has had any success. Everybody with Win2K and XP has seen perfect results.

If it makes a difference, I ported my program from GLUT to a pure Win32 interface. I think that has something to do with my problem (somehow) because it worked perfectly for all users when it was GLUT-based.