Original Post
This is a strange one. I have been developing a simple program using openGL. The openGL initialization is where I am having problems. The strange thing is that this app works fine on several machines except one laptop. It gets stranger, though! If I plug the laptop into the docking station that has an HP P1110 monitor that bypasses the laptop LCD, the program initializes and works fine. If I undock the laptop and use the LCD, I get an Access Violation error during the wglMakeCurrent() call which as you all know tries to activate the rendering context.
Exact error message: "Unhandled exception in Appname.exe (ATIO2KAB.DLL):0xC0000005: Access Violation."
Now that tells me that I have a bad pointer or something. wglCreateContext() call just before seems to be ok and creates a rendering context. The device context "seeeems" to be ok too.
Anybody had this weird thing happen?
More details on the laptop:
HP Omnibook Pentium III 650MHz
ATI Rage Mobility-M AGP 2X 8MB adapter, Bios 4.24
It could very well be a hardware thing but thought I''d ask anyway.