Alexandre Julliard wrote:
> The big question here is how do you handle the case where the library
> cannot be loaded when we need it. Right now if user32 fails to load
> shell32 you simply don't get the about box, but with your change
> AFAICS you get a crash instead...
correct, but the point of delay loading is not to support better error cases
than the regular DLL loading (from dependencies for example)
it's point is to delay the actual loading of the DLL when it's needed (and
not at startup)
of course, current implementation needs a fallback mechanism (which isn't implemented
yet). I'd suggest either the full implementation (as Jon posted), or simply throwing
an exception (like regular loading code does)

A+
-- 
---------------
Eric Pouech (http://perso.wanadoo.fr/eric.pouech/)
"The future will be better tomorrow", Vice President Dan Quayle

Reply via email to