Unresolved static template data member exported from DLL 
Author Message
 Unresolved static template data member exported from DLL

I'm building a DLL (A.DLL) which imports symbols from another DLL (B.DLL).
The linker is reporting that a symbol is unresolved when building A.DLL,
even though the unresolved mangled name appears both in B.DLL's map file,
and the exports listed by DUMPBIN for B.DLL.

The symbol in question is a static data member of a template class
explicitly instantiated in B.DLL. I use the __declspec(dllexport) specifier
on the instantiation statement in B.DLL - that's how come the symbol is
being exported.

So why doesn't A.DLL find the symbol? It is happily finding many other
symbols, including functions of the template class from B.DLL. This is the
only unresolved.

I'm using VC++ Version 6 with service pack 5 under ME.

I'm well stuck.
Any ideas?

Thanks in advance
Jon



Mon, 06 Dec 2004 02:20:47 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Exporting static data members in DLL problem

2. Exporting static data members to a DLL.

3. Exporting class static data member from DLL( long )

4. DLLs: exported static data members...

5. static data member of template class

6. Initialization of static data member of template class

7. DLL Exporting Template Members

8. exporting template class' member functions from dll

9. dll export of static const class members

10. DLL export static members (MSDEV 6.0 Bug?)

11. Export static member variables in DLL

12. Exporting static class member from DLL

 

 
Powered by phpBB® Forum Software