PDA

View Full Version : what should i do?



lizi30
12-22-2004, 04: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, 04:59 PM
hello,

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:

http://home.planet.nl/~monstrous/tutMFC.html

http://www.mfcogl.com/Links%20MFC%20&%20OpenGL%20Page.htm

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