Form.1 and Anti-KRA1.cpp are both managed code. They are Visual C++, not normal C++.
As for why your DLL doesn't work, you have things like this:
if(activated = false)
Which are wrong. It should:
if(activated == false)
There are a few errors similar to that. Take the time to actually understand what you are doing rather than copy pasting from others threads.
- Gone; this is another shit forum with children as administrators. Not worth contributing to.