Original Post
It seems like all I *ever* post about is MFC... I just recently seperated my CWinApp and CFrameWnd classes into there respective files. Unfourtantly I got four linker errors claiming my message map was already declared in the CWinApp file when it started trying to link the CFrameWnd file. I generated a standard MFC app through app wizard and examined the code output. There message map wasn't defined in the header, but in the source file. I switched my my message map at the end of my source file and volia! No problem. I know enough about MFC to know that things needed to be defined in order, but I'm still scratching my head over this one. Anyone have an idea my this would be? I always used to define my message maps in the header file and it only stopped working when I split up the frame and app classes. Anyways, I should stop rambling. Maybe this is a question for the Microsoft MFC news groups...
"So little time, so much fun."
~Michael Sikora
Edited by - guardian_light on October 6, 2001 1:37:49 PM