Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
not properly import dll in c# godot - C#
C
C#
•
2y ago
•
1 reply
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
:
<
ItemGroup
>
<
Reference
Include
=
"hidapi.dll"
/>
</
ItemGroup
>
<
ItemGroup
>
<
Reference
Include
=
"hidapi.dll"
/>
</
ItemGroup
>
My HIDapi
.cs
(Wrapper
)
:
https://pastebin.com/V3pRPDhk
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Properly import dll in csproj
C
C# / help
2y ago
❔ C# dll
C
C# / help
3y ago
✅ Using a C# DLL in C++
C
C# / help
2y ago
Using a c++ dll in c#
C
C# / help
2y ago