What's the Reason?

I’ve written an OpenGL program. There’s no error in compiling and linking. The built execute file doesn’t function on my computer but functions on another computer. Someone can tell me the reason? Thanks a lot.

My computer:
CPU: PIII866MHz
Viedo Card:ASUS V7100 magic Geforce 2 MX200/32M
Monitor: Samsung SyncMaster 750s
Memory:256M

Hi !

What OS are you running ? what is the problem, do you get an error message of some form when you try to run your application or is the window just black ?, a little more details might help.

Mikael

Thank you for your reply first.
OS is Windows2000 + SP3.
Compiling and linking are no problem.
When I run the application, The window is just black and no any other information. But it can function on another computer[Windows 2000]

Thanks for your help again.

Thank you for your reply first.
OS is Windows2000 + SP3.
Compiling and linking are no problem.
When I run the application, The window is just black and no any other information. But it can function on another computer[Windows 2000]

Thanks for your help again.

Hi !

Check for error messages in all the wglXXX functions. I guess you have not set the OpenGL background color to black ?, in that case you don’t get any OpenGL rendering at all and the problem would be realted to the initialization in some way, that’s why you need to look at error codes for the wgl functions.

Do other OpenGL application run without problems ?

Mikael