Click here to Skip to main content
16,006,006 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C2144 error char should be preceded by ; Pin
subramanyeswari3-Jan-08 19:26
subramanyeswari3-Jan-08 19:26 
GeneralRe: C2144 error char should be preceded by ; Pin
Haroon Sarwar3-Jan-08 19:34
Haroon Sarwar3-Jan-08 19:34 
GeneralRe: C2144 error char should be preceded by ; Pin
subramanyeswari3-Jan-08 19:39
subramanyeswari3-Jan-08 19:39 
GeneralRe: C2144 error char should be preceded by ; Pin
subramanyeswari3-Jan-08 19:41
subramanyeswari3-Jan-08 19:41 
GeneralRe: C2144 error char should be preceded by ; Pin
Haroon Sarwar3-Jan-08 19:47
Haroon Sarwar3-Jan-08 19:47 
GeneralRe: C2144 error char should be preceded by ; Pin
beko3-Jan-08 20:22
beko3-Jan-08 20:22 
GeneralRe: C2144 error char should be preceded by ; Pin
subramanyeswari3-Jan-08 22:07
subramanyeswari3-Jan-08 22:07 
GeneralRe: C2144 error char should be preceded by ; Pin
Iain Clarke, Warrior Programmer3-Jan-08 23:28
Iain Clarke, Warrior Programmer3-Jan-08 23:28 
If the error is happening in the .H file, then the string won;t matter. But the new line rings alarm bells for me. Try making sure all the text is on one line.

Also try using
extern const char *MC_320_API;

instead.

(Both those have been suggested).

Also suggested, but I haven't seen you reply to it...

The problem might not even be on that line of code - it could be higher.
Try commenting out the line, and see if the problem goes away, or if it moves to the next line.

If it moves, then the problem was "bad" code higher up.

(and yes, if you comment out the extern, you will have errors in your cpp files - this is just a test).

Iain.
GeneralRe: C2144 error char should be preceded by ; Pin
subramanyeswari4-Jan-08 0:06
subramanyeswari4-Jan-08 0:06 
QuestionList control with "horizontal header" ? Pin
Vaclav_3-Jan-08 15:54
Vaclav_3-Jan-08 15:54 
AnswerRe: List control with "horizontal header" ? Pin
David Crow3-Jan-08 16:06
David Crow3-Jan-08 16:06 
QuestionRe: List control with "horizontal header" ? Pin
Maxwell Chen3-Jan-08 16:08
Maxwell Chen3-Jan-08 16:08 
GeneralRe: List control with "horizontal header" ? Pin
Vaclav_3-Jan-08 16:18
Vaclav_3-Jan-08 16:18 
GeneralRe: List control with "horizontal header" ? Pin
Vaclav_3-Jan-08 16:17
Vaclav_3-Jan-08 16:17 
GeneralRe: List control with "horizontal header" ? Pin
David Crow4-Jan-08 2:31
David Crow4-Jan-08 2:31 
AnswerRe: List control with "horizontal header" ? Pin
Iain Clarke, Warrior Programmer3-Jan-08 23:31
Iain Clarke, Warrior Programmer3-Jan-08 23:31 
GeneralRe: List control with "horizontal header" ? Pin
Vaclav_4-Jan-08 7:55
Vaclav_4-Jan-08 7:55 
GeneralC++ Quick Filespace Allocation Pin
x87Bliss3-Jan-08 15:22
x87Bliss3-Jan-08 15:22 
QuestionRe: C++ Quick Filespace Allocation Pin
David Crow3-Jan-08 15:55
David Crow3-Jan-08 15:55 
GeneralRe: C++ Quick Filespace Allocation Pin
Vaclav_3-Jan-08 16:08
Vaclav_3-Jan-08 16:08 
Generalregarding AVCODEC Pin
Girish Kumar3-Jan-08 1:01
Girish Kumar3-Jan-08 1:01 
GeneralRe: regarding AVCODEC Pin
Vaclav_3-Jan-08 16:40
Vaclav_3-Jan-08 16:40 
General[Message Deleted] Pin
Girish Kumar3-Jan-08 17:58
Girish Kumar3-Jan-08 17:58 
GeneralRe: regarding AVCODEC Pin
Vaclav_3-Jan-08 18:11
Vaclav_3-Jan-08 18:11 
GeneralRe: regarding AVCODEC Pin
Girish Kumar3-Jan-08 18:41
Girish Kumar3-Jan-08 18:41 

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.