PDA

View Full Version : opengl program canna run



ywwlinux
07-01-2003, 12:49 AM
when running the opengl programms,
windows pop a message:
application initialization fails(0xc0000142),
press "ok" to halt it.

i analyzed it,and found that the problem caused by the wgl* functions.

i don't know why.
i expect anybody can help me, thanks a lot

Mihail121
07-01-2003, 01:10 AM
windows...

ywwlinux
07-01-2003, 01:29 AM
yes,win2000
before i had reinstalled it,
everything was all right.
i donna know whether the problem is opengl driver or windows gdi dll


Originally posted by Mihail121:
windows...

rgpc
07-01-2003, 02:37 AM
The Opengl programs?

What programs, ones you've written? Or ones that aren't relevant to this list (ie. Ones you haven't written).

The wgl* functions?

A specific wgl function or is it different every time? If you're actually the author of the problem code are you initializing your extensions?

ywwlinux
07-01-2003, 09:40 PM
opengl programs written in msvc.
any opengl programms i've written and
others have written.
the programs halted by the invokes of
wglcreatecontext() or some other wgl*(
i've not try all wgl*).
the problem occurred even when i've not
invoke the function which invokes the wgl*.
anything was all right at compiling and
linking, just run-time error.

Rog
07-01-2003, 11:39 PM
Originally posted by ywwlinux:
yes,win2000
before i had reinstalled it,
everything was all right.

Probably a driver problem then? Did you apply the same SP as you had previously, and the same gfx driver version? Also check MSVC service pack level.