开发者

How do I strongly name an Unmanaged C++ Dll?

开发者 https://www.devze.com 2023-02-20 12:11 出处:网络
I\'m working on a C# application which uses the EasyHook library for DLL Injection. EasyHook requires that any application using it be strongly named. In order to strongly name the application I need

I'm working on a C# application which uses the EasyHook library for DLL Injection. EasyHook requires that any application using it be strongly named. In order to strongly name the application I need to make sure that all the libraries I use are strongly named as well.

This is easy to do for all of my managed libraries, but I also have an unmanaged c++ library which I need to strongly name. After some searching I can't seem to find a way to sign my unmanaged dll, even with开发者_开发问答 the source code. Can this be done, and if so what do I need to do?

Thanks for any suggestions or assistance!


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

You don't need to (and cannot) strongly-name it.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消