> 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...

VC supports delayed loading through a mechanism that includes an error 
handling approach. Perhaps the Wine implementation should be the same?

http://msdn.microsoft.com/library/devprods/vs6/visualc/vccore/vcconlinkersupportfordelayedloadingofdlls.htm

AFAIK this was added to to VC to reduce application memory requirements/start 
up time, rather than help with dependency issues. Doesn't seem to have done 
much for 'em ;-)

Cheers,
Jon

-- 
"May their negative actions ripen upon me. And may all my virtues ripen upon 
them."
"If it could be talked about, everybody would have told their brother."
[EMAIL PROTECTED] , [EMAIL PROTECTED]


Reply via email to