The example crashes. I'm on Windows 7 SP1 x32, Athlon II X2 240, 4 GB DDR3 and a Radeon HD6850.

I get the following:
Exception EAccessViolation in module OpenGLApp.exe at 00000000.
Access violation at address 00000000. Read of address 00000000.
Sounds like the program is dereferencing a nil pointer somewhere.