How to share classes between DLLs

Posted by Jamie Hale on Stack Overflow See other posts from Stack Overflow or by Jamie Hale
Published on 2010-04-29T20:29:11Z Indexed on 2010/04/29 20:47 UTC
Read the original article Hit count: 484

Filed under:
|
|

I have an unmanaged Win32 C++ application that uses multiple C++ DLLs. The DLLs each need to use class Foo - definition and implementation.

Where do Foo.h and Foo.cpp live so that the DLLs link and don't end up duplicating code in memory?

Is this a reasonable thing to do?

© Stack Overflow or respective owner

Related posts about win32

Related posts about c++