netcore
文章平均质量分 51
鱼跃此时海_花开彼岸天
xx
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
netcore调用C++动态库时异常(DllNotFoundException)
DllImport异常时始终提示找不到文件,实际上是有的. 调用接口前修改环境变量可解决以上问题 StreamWriter sw = new StreamWriter("test.sh", false, Encoding.ASCII); sw.WriteLine("sed -i '/Lib/vvsec_centosx64_pcie/d' /etc/ld.so.conf"); var path = Directory.GetCurrentDirectory(); sw.WriteLine($...原创 2021-10-21 11:19:54 · 3046 阅读 · 0 评论 -
netcore调用(DllImport)C++库的接口(Linux和Windows)
windows库引用dll文件 public static class VVSecurity_win32 { private const string dllName = "Lib/vvsec_win32/VVSecurity.dll"; /// <summary> /// 初始化 /// </summary> /// <param name="pDevice">句柄&l.原创 2021-10-21 11:46:30 · 5578 阅读 · 0 评论
分享