Luis Lavena wrote:
On Sun, Nov 16, 2008 at 7:19 PM, Charlie Savage <[EMAIL PROTECTED]> wrote:I've explored the different alternatives under several environments and the following are my findings: 1) Alteration of PATH to prepend the DLL location. 2) Usage of SetDllDirectory 3) LoadLibraryEx with LOAD_WITH_ALTERED_SEARCH_PATHMaybe we do something simple and say that all shared dependencies get put into ruby/lib on windows (or create a new directory, ruby/shared or something). Or we could just do what happens now, put everything in bin. But I think its probably be better to separate them out.We will still face the override of the libraries by old/new versions that came from different gems.
Yes, but that's true in both cases, isn't it?
Highly unlikely the dll has different version, like ones found on *nix, they always stick to the same name.
Well, take for example libxml-ruby. It uses these dlls: libiconv-2 libxml2-2 zlib1 So the major numbers are in the name....
I'm looking right now how option 3 will affect when allocating two handles and adding the proper hooks to cleanup those at_exit.
Yes, that would be better. Charlie
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Rubygems-developers mailing list Rubygems-developers@rubyforge.org http://rubyforge.org/mailman/listinfo/rubygems-developers