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

C / C++ / MFC

 
GeneralWM_CHAR / OnChar Pin
bob1697231-Mar-08 6:51
bob1697231-Mar-08 6:51 
GeneralRe: WM_CHAR / OnChar Pin
Mark Salsbery31-Mar-08 7:02
Mark Salsbery31-Mar-08 7:02 
GeneralRe: WM_CHAR / OnChar Pin
bob1697231-Mar-08 7:45
bob1697231-Mar-08 7:45 
GeneralRe: WM_CHAR / OnChar Pin
led mike31-Mar-08 7:31
led mike31-Mar-08 7:31 
GeneralRe: WM_CHAR / OnChar Pin
bob1697231-Mar-08 7:50
bob1697231-Mar-08 7:50 
Generalundeclared identifier "class" Pin
VonHagNDaz31-Mar-08 5:40
VonHagNDaz31-Mar-08 5:40 
QuestionRe: undeclared identifier "class" Pin
David Crow31-Mar-08 5:46
David Crow31-Mar-08 5:46 
GeneralRe: undeclared identifier "class" Pin
VonHagNDaz31-Mar-08 5:54
VonHagNDaz31-Mar-08 5:54 
Its complaining about the line where I say "class TME_BasicParameters.h"

"D:\SvnWork\S168813\Source\TME_Screen_Port\TME_BasicParameters.h", line 2: error:
identifier "class" is undefined
class TME_BasicParameters
^

"D:\SvnWork\S168813\Source\TME_Screen_Port\TME_BasicParameters.h", line 3: error:
expected a ";"
{
^

"D:\SvnWork\S168813\Source\TME_Screen_Port\TME_BasicParameters.h", line 174: warning:
parsing restarts here after previous syntax error
};

Also, I only get the error when I try to include "TME_BasicParameters.h." "TME_BasicParameters" is included in my project. Both files are located in the same directory. Here is the syntax I use in the other file:

<br />
/*  <br />
	TME_DEFS.h<br />
	contains all global definitions for the common controller<br />
*/<br />
<br />
#include "TME_BasicParameters.h"<br />
<br />
/* the number of supported tools */<br />
#define MAXTOOLS 2<br />
<br />
/* the number of supported applications */<br />
#define MAXAPPS 255<br />
<br />
/* the number of supported stages for a given application */<br />
#define MAXSTAGES 7<br />
<br />
/* the number of supported tightening groups */<br />
#define MAXTIGHTGRPS 8<br />


Pretty basic, but maybe that snipet will help shine some light.

[Insert Witty Sig Here]

QuestionRe: undeclared identifier "class" Pin
David Crow31-Mar-08 7:18
David Crow31-Mar-08 7:18 
GeneralRe: undeclared identifier "class" Pin
VonHagNDaz31-Mar-08 7:23
VonHagNDaz31-Mar-08 7:23 
QuestionRe: undeclared identifier "class" Pin
David Crow31-Mar-08 7:28
David Crow31-Mar-08 7:28 
GeneralRe: undeclared identifier "class" Pin
VonHagNDaz31-Mar-08 7:38
VonHagNDaz31-Mar-08 7:38 
GeneralRe: undeclared identifier "class" Pin
David Crow31-Mar-08 7:44
David Crow31-Mar-08 7:44 
GeneralRe: undeclared identifier "class" Pin
VonHagNDaz31-Mar-08 7:51
VonHagNDaz31-Mar-08 7:51 
GeneralRe: undeclared identifier "class" Pin
David Crow31-Mar-08 7:55
David Crow31-Mar-08 7:55 
GeneralRe: undeclared identifier "class" Pin
CPallini31-Mar-08 11:25
mveCPallini31-Mar-08 11:25 
GeneralRe: undeclared identifier "class" Pin
VonHagNDaz1-Apr-08 7:20
VonHagNDaz1-Apr-08 7:20 
GeneralRe: undeclared identifier "class" Pin
CPallini1-Apr-08 7:53
mveCPallini1-Apr-08 7:53 
GeneralRe: undeclared identifier "class" Pin
VonHagNDaz1-Apr-08 8:00
VonHagNDaz1-Apr-08 8:00 
QuestionRe: undeclared identifier "class" Pin
CPallini1-Apr-08 9:33
mveCPallini1-Apr-08 9:33 
GeneralRe: undeclared identifier "class" Pin
VonHagNDaz1-Apr-08 9:37
VonHagNDaz1-Apr-08 9:37 
GeneralRe: undeclared identifier "class" Pin
CPallini1-Apr-08 10:19
mveCPallini1-Apr-08 10:19 
GeneralRe: undeclared identifier "class" Pin
Saurabh.Garg31-Mar-08 6:33
Saurabh.Garg31-Mar-08 6:33 
Generaldiffernce between ...!! Pin
Member 427882931-Mar-08 3:42
Member 427882931-Mar-08 3:42 
GeneralRe: differnce between ...!! Pin
David Crow31-Mar-08 3:49
David Crow31-Mar-08 3:49 

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.