my first thougts were that your problem is a (further) proof that:
w2k sucks
MS in general sucks (vc)
Borland builds better compilers
Windows refuses to work if you try to use “foreign” alternatives for things where there already is a (often worse) ms version (such as sgi opengl)
well but i guess that won’t really help you . ever tried linux? or the ms opengl dll? on my two computers, w2k often does not work very well but i still refuse to install service packs (in my opinion this is like you purchase a car and some part of the control computer is sent to you via mail some months later, and you have to put it in your place, and THEN the brakes will work properly) and do not really expect it to work as i would like it to do (and use linux instead).
QT only as part of delphi/kylix, but under linux i would rather recommend (open)motif as it is very very fast (what qt under linux definitely isn’t) and not really that hard.
so your’e done with windows? i reached that point some months ago when windows simply wasn’t installable on my computer without any reasons, and after several tries, i decided, if it does not want, well, that’s ok, and since then, i mostly stick with linux.
I’ve put up with this MS nonsense far too long so I’m going to take a serious look at Linux as a development platform.
I still need to deploy for Windows and that’s why I was asking about Qt and Cygwin. I guess my other alternative is to use an X server on the end-user PCs.
Either make a sensible, intelligent statement with perhaps some evidence to back your claim or shut the hell up.
I’ve been developing on both windows and Linux for over 10 years and “windows sucks” has never been a statment I heard among professionals of any caliber.
The C++ Builder version works fine in Win 98 and Win2K.
The VC version works fine in Win98.
The VC version cannot create an OpenGL rendering context in Win2K (e.g. wglCreateContext() returns NULL as many of you have encountered here).
If you do not see the evidence to back up the claim, obviously you did not even bother reading the first post.
As for the question, according to the FAQ they say that “incorrect mixing of GDI and wgl* calls may result in openGL functioning correctly in Windows 9x but not in NT/2000”. Still, if its the exact same source for C++ Builder and VC++ it seems strange that one would work and the other would not. Do they both link with the exact same .lib files as well?
Actually the FAQ says that under Windows 2000 “one ends up with a black OpenGL window”… I’m not even getting the rendering context to create when using the libs from SGI.
And even if we were to forget about the C++ Builder version it is still beyond me why the VC version creates the rendering context when linking one set of libraries but not the other.