Force feedback help

Hi, I need hel making a DLL that runs force feedback, I have the source code to make force feedback in C++ and a link explaining how it works but it’s for exe file and I’m not good using C++:( , this code uses directX so it can be only used in windows i think but I this can be useful, maybe some of you know that the BGE can run external aplications using win32api.pyd and i know that we can test a DLL with “Rundll32 dllname.dll function” in the command prompt, so it can helps

thanks in advance