I'm searching for a way to use DLL in Python, I found ctypes that should fix it but I can't get to make it work...
Do I need to install DLL first? (by executing it on windows with 'regsvr32..file..') If yes, how... The DLL files I got are 'Files' not 'programms' and I can't launch them (not found by the executor in system32)
If not, I first can't see the DLL files I added to system32 (thought it could help to put them there) in my Python's browser and if they are somewhere else, it gives me the error [WinError 193] %1 is not a valid Win32 application
.
My script:
import ctypes
malib = ctypes.WinDLL("D:\Documents\Python Scripts\ClaymoreProtocol.dll")
malib.SetClaymoreKeyboardMode(1) #SetClaymoreKeyboardMode is a function of the dll
(https://www.asus.com/campaign/aura/us/SDK.html the link for the SDK i'm trying to use)