> From: owner-openssl-us...@openssl.org On Behalf Of Charles Mills
> Sent: Wednesday, 24 October, 2012 19:08

> > The code for "uplink" looks to me like it looks for 
> _Applink ONLY in the .exe
> 
> It *HAS* to be a .exe? OpenSSL has logic that depends on what type of
> executable is calling it? If I had a .exe that worked with OpenSSL I could
> not necessarily turn it into a .DLL that exported services to calling
> programs?
>       
No, OpenSSL on Windows does not have logic that depends on the caller, 
that's why this DOESN'T work. The simplest "upward" dynamic lookup in 
Windows looks only in the .exe. In order to look in the .dll, OpenSSL 
would need more complicated code to figure out is that was called from 
a .dll and not the .exe, and WHICH particular .dll because you could 
have multiple .dll's compiled differently, and lookup there.

<snip rest>


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to