View Full Version : what should i do?

12-22-2004, 03:56 PM
i am a novice to OpenGL ,but i have strong interests in it. recently,i meet a problem,that is how to load .bmp and use it in maping texture.
i have read some articles that they advice to reference to NeHe's guide,but his program is run
at win32 console enviroment, when i copy the codes
to MFC SDIenviroment, the program can not run ,why?
someone has some ideas for me ,thanks1

Alex Baker
12-24-2004, 03:59 PM

the reason is because MFG applications do need a little bit more than the small bunch of code a standard "pure" Win32 application includes - just copying and comiling can (!) never work if you are doing it straight this way !
Perhaps you may be interested in the following links, regarding MFC/GL applications:



12-26-2004, 03:00 PM
thank you very much!