To get it to work you have to inject the dll into the game.
1. install / download a dll injector (I personally use extreme injector)
2. when open add the dll to it by browsing and finding it.
3. type in the game process id
4. Done!
(I have not tested yet in this game but have done dll injection for gta 5