I have Created an OpenGL view on a Windows Form as on this and successfully embedded opengl into visual c++ windows form.Accordingly I have 2 files - rendering.h and opengl.h
Here's my original code....
Well then I extended my "OpenGL View on Windows Form" and combined it with NeHe's Tutorial "LESSON 27 - SHADOWS" and brought the code without errors. But still I have an obstacle!
Link error:
1> Generating Code...
1>PhotoRealisticRendering.obj : warning LNK4248: unresolved typeref token (0100002F) for 'GLUquadric'; image may not run
1>OpenGL.obj : warning LNK4248: unresolved typeref token (0100001B) for 'GLUquadric'; image may not run
Below are other 2 important files - shadow.h and 3Dobject.h