Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 C++ 库来运行字符串匹配(PFAC 库)PFAC-lib。如何从 WinForm C# 运行这个库?
我还使用managedCuda从我的 C# 运行 cuda 代码。任何想法?
“PFAC 库提供 C 风格的 API。程序员可以将库链接到 C/C++ 代码或其他语言。”
您应该能够 dllimport 代码工作所需的部分。
但是您可能会遇到困难,因为我刚刚查看了 struct create 需求。祝你好运