I am using a facade DLL for a static library. Dll provides a small interface and resource management for sharing in multiple DLLs. Dll-Header exposes material from a static library:
class DLL_EXPORT MyDllClass { public:
The problem is this: if this works, I have to link StaticLib with the DLL and the application using the DLL. I was unable to export parts of StaticLib correctly . I tried in the export headers:
class DLL_EXPORT OneStaticLibClass;
but this does not work ... I still get:
undefined reference to OneStaticLibClass::~OneStaticLibClass(void) undefined reference to OneStaticLibClass::operator<<(char const *)
Andy's ideas, how can I export parts of a static library using a DLL?
Thanks!
source share