Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果这些 DLL 不在应用程序目录或 Windows 路径中,Windows 能否找到混合模式应用程序的非托管(非 COM)DLL?我注意到路径上没有出现 VS 2008,我想知道这是如何完成的。
不,它不能在搜索一组路径的意义上“找到”它们。但是如果你知道去哪里看,它们总是可以通过它们的完整路径 (C:\Program Files\Visual Studio...) 加载。您可以使用 AppDomain 获取您自己的可执行文件的路径,然后从中派生 DLL 的位置。
那是你要找的吗?你的问题有点模棱两可。