Archived

This topic is now archived and is closed to further replies.

kspansel

Multiple DLLs & Template Problem

Recommended Posts

Hello, I''m having trouble compiling one of my dll libs. Let me break it down: I have an IO.dll library which uses my Core.dll library. Inside of my IO.dll i have an exported class called FormattedInputStream, which in turn contains a smart pointer to an InputStream. When I try to compile the IO.dll the compiler says InputStream object needs to have a dll interface. The problems is that my smart pointer class is templated so I don''t see why I need to declare a class to be exported when no code is included in the dll. Anyone else ever run into this problem? Or have a solution? Kory Spansel

Share this post


Link to post
Share on other sites