URGENT: Header Files / Linking Problem
Posted on 2003-10-30
I have a COM dll I am writing with 4 different interfaces / classes. I have some classes, structs and globals defined in a .H file (its all in the .H file, there is no cpp file)
When I include the .H file in one of the headers for the 4 classes, I have no problem.
When I include the .H file in two of the headers for the 4 classes, I get all sorts of
SYMBOLICFucntionName already definien in Object2.obj, where Object2 is the second object I added the #include directive to. There are no errors for Object1, the original object that #included my header with objects and enums.
Am I not allowed to do this? If not, how do I restrucutre the linking/files so that I can do something like this?
If so, why is this not working?