In re
Dan Demers' question:
There
is also (with VC6.0 and later) another approach that might get you what you want
with less effort:the linker optionfor "Delay-Loaded
DLLs". Despite the name, this does not mean DLLs that
arechock-full ofdelays, but DLLs that are only loaded when
needed:
http://msdn.microsoft.com/library/default.asp?url="">
if
this is of interest, be sure to read the "Constraints"
article:
http://msdn.microsoft.com/library/default.asp?url="">
I've
only used them occasionally myself, no problems, but of course that's no
guarantee.
Larry
West
mailto:[EMAIL PROTECTED]
(Personally, I'd have called them "Delayed-Load
DLLs").
-Original Message-From: Jeffrey Altman
[mailto:[EMAIL PROTECTED]]Sent: Monday, February 03, 2003
11:20To: [EMAIL PROTECTED]Subject: Re: explicit
linking question (6)You can use LoadLibrary() to load the
DLLs at runtime instead of linking to them at compile time.However, if you
do this you will need to load each function pointer
programatically.dan demers wrote:
in the windows environment,
is it possible to use the explicitly link the
openssl dll(s) (ssleay32.dll and libeay32.dll) as needed from my
application?
i wanted to include in my general dll (used by
all my programs) an ssl object the uses openssl and explicitly loads the
dll(s) as needed if the ssl object is created.
it this possible or do i always need to deliver
the openssl dlls with my general dll which doesn't always use the ssl
stuff.
thanks,
dan