Sarlacc 0 Newbie Poster

I am creating multiple C++ DLLs which have a C wrapper around them for use by an external application. I wanted to have a single error handling library that each DLL has access to.

If I created the error library as a static library and then include it in the DLLs I get an issue saying that the library header file could not be found when testing it in a dummy c++ app by including the wrapper header. If I call the DLL in a C or C# app then it works fine. Is this just down to how the linking is done in C++ meaning the dummy app has access to the errorLib twice?

The structure is like so
C++ class A header file has access to the static lib
C WrapperA includes A
Class B includes static lib
C WrapperB includes B.