How to check if a .NET DLL is registered?

I have a .NET solution (one project is written in C ++ COM, others are written in C #) with its libraries.

I would like to make some starttest tools that will check if all C #, C ++ libraries are registered correctly. How can i do this? How can I ask .NET if any C # or C ++ COM library is registered? w

+3
source share
3 answers

One way is to create an object using supposedly registered DLLs. if it works, then you can be sure that properly registering all other methods can be a little unreliable.

+2
source

/ , classid COM. - , .

:

HKEY_LOCAL_MACHINE/Software/Classes

COM- , .

+1

, . COM ( Windows).

, - COM, , , .

0

Source: https://habr.com/ru/post/1749959/


All Articles