I develop in C++/MFC and have placed all the resources in a separate DLL.
I have seen cases where the resource DLL is modified and the product is sold illegally with different name, graphics etc.
How do I prevent the resource DLL from being modified/hacked?
You could zip it with an encrypted password and unzip it into a temporary location before reloading it. Something like
There are a number of free zip libraries that can cover the unzipping and password protection abovw