[fpc-pascal] Re: access violation somehow related to dlopen'ing libssl

2010-07-02 Thread Seth Grover
Michael wrote: > If 'sysutils' is somewhere included (I assume it is) it means that a > different loadlibrary function is called. Thanks for the response. Actually, I saved the assembly code generated from both ways and compared them and realized the problem was with the definition of HModule. cl

Re: [fpc-pascal] Re: access violation somehow related to dlopen'ing libssl

2010-07-02 Thread Michael Van Canneyt
On Fri, 2 Jul 2010, Seth Grover wrote: Whoa... I discovered that simply adding "dynlibs" to the interface uses clause of ssl_openssl_lib causes the crash to go away and everything to work fine. After further experimentation, if I put "dynlibs" in the uses clause of ssl_openssl_lib prior to "C

[fpc-pascal] Re: access violation somehow related to dlopen'ing libssl

2010-07-02 Thread Seth Grover
Whoa... I discovered that simply adding "dynlibs" to the interface uses clause of ssl_openssl_lib causes the crash to go away and everything to work fine. After further experimentation, if I put "dynlibs" in the uses clause of ssl_openssl_lib prior to "Classes", it still crashes. If I add it after