I’m currently writing a DirectX wrapper dll (before you ask, it’s purpose is to improve graphics, not to cheat) and had the issue that most programs I tried it with immediately failed with error 0xc0000007b before even executing the dll entry point.
Many posts on the internet will point to a 64/32 bit version mismatch, which is probably the case for most end users. But in my case, the reason was much simpler: I tried to load a .dll built in debug mode. As most executable are likely shipped in release mode that leads to the incompatibility. Just something to keep in mind.