1
如何以編程方式或使用工具(如depends.exe或Dependency Walrer for DLL)確定C++中lib文件的依賴關係?特別是我對C運行時版本的定義感興趣。我的問題是,我的DLL,在MSVC2010中編譯取決於CRT 8.0。我假設這個從一些繼承的依賴包括lib文件。我想驗證這個假設並找到lib文件。如何定義lib文件的依賴關係?
此代碼包含在自動生成的清單:
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC80.DebugCRT"
version="8.0.50727.762" processorArchitecture="x86"
publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
</dependentAssembly>
</dependency>