It's nowhere near that simple. The number of layers that Microsoft has added in an effort to make future code more robust while maintaining backward compatibility is no joke. For example: Have a file with an ending of .local with the same name as the exe will cause the dynamic linker to look in the same directory as the executable first. Then there's the whole rigamarole with SxS. Then there are at least a couple of environment variables, one of which is PATH that influence the algorithm used by the dynamic linker. It's a completely byzantine mess...
|