If you pass in the debug flag when creating the device do you get any warning/error messages?
It freezes with and without that flag.
BTW. It also happens with glChosePixelFormat (a bit rearely I suppose).
I will change my driver (upgrade or downgrade).
You may need to add your executable to the 3D graphics list in the Nvidia driver and force it to use dedicated graphics for the 960M.
I'll give it a try thanks!