Anyone know how to program in MFC?

MoO_coW

Member
Jul 14, 2000
486
0
Well im working on a program in MFC to draw a house and im having a bit of a problem, im working on making a toolbar for it to spice it up a bit but im having a problem with one line of code.
when i put CToolBarCtrl m_TB; into my header file i get the bellow errors pluss a few more that have to do with m_TB. Does anyone have any idea on why this isnt working or know of a good discusion board that could help me out? I dont know anyone that knows how to program in MFC really so I dont have any help. Thanks

error : syntax error : missing ';' before identifier 'm_TB'
error : 'CToolBarCtrl' : missing storage-class or type specifiers
error : 'm_TB' : missing storage-class or type specifiers
error : 'm_TB' : undeclared identifier
error : syntax error : missing ';' before identifier 'm_TB'
error : 'CToolBarCtrl' : missing storage-class or type specifiers
error : 'm_TB' : missing storage-class or type specifiers
 
Last edited:

sfc crash

Human Blowtorch
LIFETIME SPONSOR
Jun 26, 2001
1,824
0
ha!i saw this post and it's you,mo0_cow.start by reloading everthing that has to do with your program.all that syntax and storage clas..blah blah blah,missing.i'd betcha' dollars to,well whatever,there's a comand link missing.those things'll drop to no where,btw,when you reload and your comcrasher asks you if you want to load over an already loaded program,say yes, heck yes you %$#%&$! you might be suprised to know how one "bit"messes the whole thing up,maybe not.if that don't fix it,do a search on excite,using your program name.if that does fix it,well,lets see,250$ service call,150$ hr,maybe 6 min,so that's 15$ ,totall 265$,just send a money order.!;)
 
Top Bottom