[Mono-list] DllImport("libeay32") loads library in mono/bin folder instead of my version

Stifu stifu at free.fr
Tue Mar 24 09:20:22 EDT 2009

Forgive the stupidity of my proposition, but how about simply renaming the
DLL you ship with your application?

Ben Henderson wrote:
> I am developing an application that needs to invoke methods from the FIPS
> validated libeay32 module.  This works fine with the MS CLR, but Mono
> loads the libeay32 library from it's bin folder instead of my application
> directory.
> I have read one other topic on this forum that suggests that deleting the
> libeay32 module from the mono/bin directory will solve the problem.  I
> know that this will solve the problem, but I am assuming that Mono has
> this library in the bin folder for a reason.
> Is there a way to force Mono to load my version of the library?
> Thanks,
> Ben

View this message in context: http://www.nabble.com/DllImport%28%22libeay32%22%29-loads-library-in-mono-bin-folder-instead-of-my-version-tp22680025p22680189.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list