include
-
Hello, I wrote a com object in C++.ATL. I did a small header file for general definitions. When I include that file in other classes I got error such as missing ; etc example of the header file: #ifndef __LIC_T_H #define __LIC_T_H #include using namespace std; #define FILE_BUFFER_SIZE 100 #define ENCRYPT_ELEMENT_NUM 4 struct Lic_t { }; #endif thanks
-
Hello, I wrote a com object in C++.ATL. I did a small header file for general definitions. When I include that file in other classes I got error such as missing ; etc example of the header file: #ifndef __LIC_T_H #define __LIC_T_H #include using namespace std; #define FILE_BUFFER_SIZE 100 #define ENCRYPT_ELEMENT_NUM 4 struct Lic_t { }; #endif thanks
include stdafx.h as the first #include statement int he header file or disable using porecompiled header file in the project settings. cheers...milton kb.