VC.NET MFC and strange error, source project included

Started by
1 comment, last by justinrwalsh 19 years, 7 months ago
I THINK there is something worng with message maps... i get this error... ToolTest error LNK2001: unresolved external symbol "protected: virtual struct AFX_MSGMAP const * __thiscall COpenGLControl::GetMessageMap(void)const " (?GetMessageMap@COpenGLControl@@MBEPBUAFX_MSGMAP@@XZ) funnything is is that in my cpp file of the class if i add... BEGIN_MESSAGE_MAP(COpenGLControl, CWnd) END_MESSAGE_MAP() no error, but app doesnt work right I am really just learning about this thing called MFC and trying to through together an app well, i got code frome random placeson google, and tried to make since of whats going on... so my question is, why doesnt my program dothe openGL stuff. I will put a link to the zipped project: http://jdizzledub.tripod.com/tooltest.zip that should work, but only download if you know MFC. if not there is a link on the index... http://jdizzledub.tripod.com/ Basically i am trying to use this tutorial... http://steinsoft.net/index.php?site=Programming/Tutorials/opengl_dialog but instead of in a dialog, i want it in a formView... thanks in advance guys.
Advertisement
The zip can't be downloaded.

My guess is though, that instead of CWnd put CFormView inside the memory map declaration.

Fruny: Ftagn! Ia! Ia! std::time_put_byname! Mglui naflftagn std::codecvt eY'ha-nthlei!,char,mbstate_t>

k use the second link....
http://jdizzledub.tripod.com/

works now
ok i figured it out, as with most tutorials, the code on the website, and the source code differed, i got it running now, and this whole post can be ignored if wanted to

[Edited by - justinrwalsh on October 8, 2004 3:38:12 AM]

This topic is closed to new replies.

Advertisement