What can I call unmanaged C ++ Dll?

I am working on a C # application that uses the EasyHook library to inject DLLs. EasyHook requires that any application using it be strongly named. To strongly name the application, I have to make sure that all the libraries that I use are also strongly named.

This is easy to do for all of my managed libraries, but I also have an unmanaged C ++ library that I need to name. After some searching, I cannot find a way to sign my unmanaged DLL, even with the source code. It can be done, and if so, what do I need to do?

Thanks for any suggestions or help!

+5
source share
1 answer

I assume that you are calling the DLL using P / Invoke.

You do not need (and cannot) strongly call it.

Strong naming is a .Net concept that applies to managed assemblies (and C ++ / CLI); it does not matter for unmanaged libraries.

+4
source

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


All Articles