Hello,
Welcome to Microsoft Q&A.
Your question is related to the C# language, and the topic Q&A is temporarily not supported.
You can ask questions on the MSDN Forum, where the engineers are actively answering related questions.
Thanks.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Dear all,
I want to use reflection to call a COM lib in C#.
I can't load the .dll file because the .dll files differ on different computers.
I tried to use AppDomain.CurrentDomain.GetAssemblies() to get all assemblies which the program loads, but among the returned assemblies I can’t find the library but a “Anonymously Hosted DynamicMethods Assembly”.
So do you know how to load a COM assembly?
Thanks!
Hello,
Welcome to Microsoft Q&A.
Your question is related to the C# language, and the topic Q&A is temporarily not supported.
You can ask questions on the MSDN Forum, where the engineers are actively answering related questions.
Thanks.