TestCase5: different path of atl90.dll in win11 - viruscamp/Dependencies GitHub Wiki

// lib /def:atl90.def /out:atl90.lib /machine:amd64
// cl use-atl90.c atl90.lib

#include <windows.h>

// <assemblyIdentity type="win32" name="Microsoft.VC90.ATL" version="9.0.30729.6161" processorArchitecture="amd64" publicKeyToken="1fc8b3b9a1e18e3b" />
// win10: C:\Windows\WinSxS\amd64_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_a268ec259de3174d\ATL90.dll
// win11: C:\Windows\WinSxS\Fusion\amd64_microsoft.vc90.atl_1fc8b3b9a1e18e3b_none_a268ec259de3174d\9.0\9.0.30729.6161\ATL90.dll
__declspec(dllimport) void AtlAdvise();

int main() {
    printf("Please use ProcessHacker or SystemInformer to check loaded modules.\n");
    printf("loaded WinSxS\\1.0\\atl90.dll \n");
    getchar();

    AtlAdvise();
    return 0;
}
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
  <dependency>
    <dependentAssembly>
      <assemblyIdentity type="win32" name="Microsoft.VC90.ATL" version="9.0.30729.6161" processorArchitecture="amd64" publicKeyToken="1fc8b3b9a1e18e3b" />
    </dependentAssembly>
  </dependency>
</assembly>
LIBRARY atl90.dll
EXPORTS
	AtlAdvise @10
⚠️ **GitHub.com Fallback** ⚠️