Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralProblem with Splitter Wnd Pin
Francis B.10-Aug-01 11:06
Francis B.10-Aug-01 11:06 
GeneralRe: Problem with Splitter Wnd Pin
10-Aug-01 11:22
suss10-Aug-01 11:22 
GeneralNeed some help Pin
Brian V Shifrin10-Aug-01 10:42
Brian V Shifrin10-Aug-01 10:42 
GeneralRe: Need some help Pin
Carlos Antollini10-Aug-01 10:56
Carlos Antollini10-Aug-01 10:56 
GeneralDuh! Pin
Brian V Shifrin10-Aug-01 11:13
Brian V Shifrin10-Aug-01 11:13 
GeneralRe: Duh! Pin
#realJSOP10-Aug-01 11:23
professional#realJSOP10-Aug-01 11:23 
GeneralRe: Need some help Pin
Derek Waters12-Aug-01 14:08
Derek Waters12-Aug-01 14:08 
Generaltons of awful errors Pin
Jake Palmer10-Aug-01 10:27
Jake Palmer10-Aug-01 10:27 
My program has gone psycho, and I'd really appreciate some help reducing the 115 compilation errors down to none Big Grin | :-D The problem is with the VC++ generated line:
static char THIS_FILE[] = __FILE__;
that is placed in every cpp file. For some reason, this is giving me serious errors in every class!

Looks something like this:

error C2258: illegal pure syntax, must be '= 0'
error C2252: 'THIS_FILE' : pure specifier can only be specified for functions
error C2838: illegal qualified name in member declaration
error C2059: syntax error : 'return'
error C2238: unexpected token(s) preceding ';'
error C2143: syntax error : missing ';' before '*'
error C2501: 'GetMessageMap' : missing storage-class or type specifiers
error C2556: 'int *__thiscall CTestApp::GetMessageMap(void) const' : overloaded function differs
43) : see declaration of 'GetMessageMap'
error C2373: 'GetMessageMap' : redefinition; different type modifiers
43) : see declaration of 'GetMessageMap'
error C2143: syntax error : missing ';' before 'tag::id'
error C2734: 'AFX_MSGMAP' : const object must be initialized if not extern
error C2371: 'AFX_MSGMAP' : redefinition; different basic types
p(38) : see declaration of 'AFX_MSGMAP'
fatal error C1004: unexpected end of file found

Every one of those errors points to the BEGIN_MESSAGE_MAP macro. Needless to say, this is the lamest thing ever, and I don't have a clue what caused all this craziness. Any help is much needed Dead | X|
thanks a ton,
Jake
GeneralRe: tons of awful errors Pin
#realJSOP10-Aug-01 10:33
professional#realJSOP10-Aug-01 10:33 
GeneralRe: tons of awful errors Pin
Jake Palmer10-Aug-01 11:02
Jake Palmer10-Aug-01 11:02 
GeneralSource .CPP and Header .H Pin
10-Aug-01 10:06
suss10-Aug-01 10:06 
GeneralRe: Source .CPP and Header .H Pin
Carlos Antollini10-Aug-01 10:54
Carlos Antollini10-Aug-01 10:54 
GeneralRe: Source .CPP and Header .H Pin
10-Aug-01 11:50
suss10-Aug-01 11:50 
GeneralRe: Source .CPP and Header .H Pin
Carlos Antollini10-Aug-01 12:07
Carlos Antollini10-Aug-01 12:07 
GeneralRe: Source .CPP and Header .H Pin
10-Aug-01 12:14
suss10-Aug-01 12:14 
GeneralRe: Source .CPP and Header .H Pin
Stefan Pedersen11-Aug-01 14:23
Stefan Pedersen11-Aug-01 14:23 
GeneralRe: Source .CPP and Header .H Pin
Michael Dunn10-Aug-01 15:46
sitebuilderMichael Dunn10-Aug-01 15:46 
GeneralRe: Source .CPP and Header .H Pin
10-Aug-01 23:07
suss10-Aug-01 23:07 
Questionhow to find a word in a string... Pin
10-Aug-01 9:33
suss10-Aug-01 9:33 
AnswerRe: how to find a word in a string... Pin
Jake Palmer10-Aug-01 9:40
Jake Palmer10-Aug-01 9:40 
AnswerRe: how to find a word in a string... Pin
10-Aug-01 9:40
suss10-Aug-01 9:40 
AnswerRe: how to find a word in a string... Pin
#realJSOP10-Aug-01 9:42
professional#realJSOP10-Aug-01 9:42 
GeneralRe: how to find a word in a string... Pin
11-Aug-01 1:10
suss11-Aug-01 1:10 
Questiontree controled options page w/o mfc? Pin
10-Aug-01 8:36
suss10-Aug-01 8:36 
AnswerRe: tree controled options page w/o mfc? Pin
Michael Dunn10-Aug-01 9:20
sitebuilderMichael Dunn10-Aug-01 9:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.