dyxnie
not properly import dll in c# godot
tried recompiling the dll with the c and h file im pretty sure were used:
hidapi.c:
https://pastebin.com/FnPPsZM8
hidapi.h:
https://pastebin.com/JK74uLyc
Command i used for compiling:
gcc -shared -o hidapi.dll hidapi.c -lsetupapi
How i reference it in my csproj:
My HIDapi.cs (Wrapper):
https://pastebin.com/V3pRPDhk
2 replies