| Igor Tandetnik 2005-11-23, 7:59 am |
| "newbie" <jyothik@gmail.com> wrote in message
news:1132720307.151125.277750@g49g2000cwa.googlegroups.com
> I have a "C" shared library that statically links openssl and a "C"
> application that uses it also statically links openssl. I want to keep
> the two instances separate.
If by "shared library" you mean a DLL, then your wish is already
granted. In fact, in Windows there is no way to do otherwise - you can't
have a static library somehow shared between multiple modules (where
"module" is an EXE or a DLL). If you want to share a piece of code this
way, it has to be packaged in its own DLL.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
|