Windows 98 MSVC 6.0 MFC
I am converting a few cpp files from a procedural model to a class model. The problem comes in here:
The class member functions have pointers to struct as arguments. How do I include the definitions of the structs (found in define.h) in the header file of the class I am creating, without causing errors on the other header file (C2370 redefinition; different storage class AND C2011 struct type redefinition).
Now I get the following errors on the args in the class header:
error C2061: syntax error : identifier 'PPGM'
The MSDN documentation states the compiler found an identifier where it was not expected.
Can somebody cut up the middle of this circulare problem?
HHOS,
Asher
I am converting a few cpp files from a procedural model to a class model. The problem comes in here:
The class member functions have pointers to struct as arguments. How do I include the definitions of the structs (found in define.h) in the header file of the class I am creating, without causing errors on the other header file (C2370 redefinition; different storage class AND C2011 struct type redefinition).
Now I get the following errors on the args in the class header:
error C2061: syntax error : identifier 'PPGM'
The MSDN documentation states the compiler found an identifier where it was not expected.
Can somebody cut up the middle of this circulare problem?
HHOS,
Asher