Win 32 API used as a window for OpenGL

I am using the NeHe window framework. However, it is not working because some damn memory error keeps popping up. This error does not pop up in my friend’s computer. (??)It keeps crashing whenever the pixels are trying to be set. Does anyone know if this is a rare isolated bug?

N/M no one reply I already found the problem.