I have to protect my program, which is written in .NET. I've decided to use the themida protector to virtualize a small dll (written in C), which will be loaded into the main program (via PInvoke) to activate it.

For some specific reason, I need to have the protection dll compiled with a /clr key. Library doesn't export any managed types, so it is possible to use themida there.

But I have some issues with the protected dll. When the dll is compiled with clr support and protected by themida, it is deadlocked in DllMain. It looks like themida puts some managed calls into DllMain in this case. Is there any way to workaround this trouble and prevent the deadlock?

有帮助吗?

解决方案

According to the Oreans support, dlls with clr support are not supported 'by protection design'.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top