New API functions for loading external dlls

Saulius Krasuckas saulius2 at ar.fi.lt
Wed Jul 13 02:17:59 CDT 2011


It seems MS announced three new functions yesterday:

  SetDefaultDllDirectories 
  AddDllDirectory 
  RemoveDllDirectory 

These are "to help developers correctly and securely load external 
libraries". [1]

I remember some talk about SetDllDirectory() in the past [2], so now it's 
interesting how these two ways would coexist.

Plus, could the new way help to simplify loading Gecko / XPCOM [3] by a 
chance?  Probably not:)

S.


[1] http://support.microsoft.com/KB/2533623
[2] http://www.winehq.org/pipermail/wine-patches/2005-August/019625.html
[3] http://source.winehq.org/source/dlls/mshtml/nsembed.c?v=wine-1.1.8#L144



More information about the wine-devel mailing list