Re: Distribution of MFC42.dll

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: David Lowndes (davidl_at_example.invalid)
Date: 07/02/04


Date: Fri, 02 Jul 2004 07:42:30 +0100


>Taken literally, this strikes me as horribly misguided for the reasons I
>gave in my last message, but thankfully, it's wrong. Contrast it with the
>LoadLibraryEx docs:
>...
>This documentation states the directory containing the application is ALWAYS
>searched first, which is as it should be. It's what I observe when I do a
>simple test in my Windows XP SP1 system.
>...
>These results are consistent with the LoadLibraryEx docs, not the MSDN
>article cited above. So, you'll only observe a behavioral change if you're
>loading DLLs from some "current directory" different from the application
>directory.

Cheers Doug. The actual behaviour does seem reasonable!

Dave

-- 
MVP VC++ FAQ: http://www.mvps.org/vcfaq


Relevant Pages