May 11th, 2011, 03:55 AM
how to provide the defines from one header to another?
I ran into the following problem:
I have implemented an API, consisting of C-Api, Manager, BaseClass and the concrete working classes derived from the BaseClass. One of this "concrete" class includes the first header file header1.h and loads its .lib file. I can communicate with the concrete Class only via C-Api with the second header file header2.h. Within the concrete class I use the define constants (
) of the header1 without problems. However, if I include the second header into the third one header3.h, then I'm not able to use the defines from the first header anymore.
Is there a way of solving this problem?
Last edited by vanselm; May 11th, 2011 at 05:32 AM.
Reason: wrong description at first post...
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!