Board index » cppbuilder » ensure only 1 include of *.h file
--== Alain ==--
![]() CBuilder Developer |
ensure only 1 include of *.h file2006-09-07 03:20:44 AM cppbuilder60 Hi, I would like to know how we can for BCB to only include 1 instance of *.h file, in case it is declared in several *.cpp or other *.h files. i include only once the file "shlobj.h" within my class. However, when i use my class in some other class, BCB informs me that in the file "shlobj.h", there are multiple declaration for several types... like [C++ Error] shobjidl.h(2372): E2238 Multiple declaration for 'FOLDERSETTINGS' But i'm sure that i only included once this *.h file. and everything is under #ifndef, #define and #endif... thx, AL. |