S
Steve
Hi,
We have an application framework library that gets statically linked to any
applications we produce. (Windows apps, but I don't think that matters
here).
The framework is based heavily on the STL and the API uses many STL
constructs. Because of the static linking, and the fact that both app and
framework are built by the same compiler, we don't have any problems.
Now somebody has suggested we make the framework a shared library.
Of course, this probably means a big re-write is on the cards, and I am
aware that there can be issues if std::strings and other STL templated
classes are exposed on a shared library API.
Has anyone here had to tackle this problem? Any advice would be most
welcome. (Is there a common design pattern one could follow?)
I guess this is the reason why C++ libraries like QT and xerces provide
their OWN classes instead of using STL, right?
Thanks.
--
Regards,
Steve
"...which means he created the heaven and the earth... in the DARK! How good
is that?"
We have an application framework library that gets statically linked to any
applications we produce. (Windows apps, but I don't think that matters
here).
The framework is based heavily on the STL and the API uses many STL
constructs. Because of the static linking, and the fact that both app and
framework are built by the same compiler, we don't have any problems.
Now somebody has suggested we make the framework a shared library.
Of course, this probably means a big re-write is on the cards, and I am
aware that there can be issues if std::strings and other STL templated
classes are exposed on a shared library API.
Has anyone here had to tackle this problem? Any advice would be most
welcome. (Is there a common design pattern one could follow?)
I guess this is the reason why C++ libraries like QT and xerces provide
their OWN classes instead of using STL, right?
Thanks.
--
Regards,
Steve
"...which means he created the heaven and the earth... in the DARK! How good
is that?"