我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

在Golang中使用.net C#DLL?

I am working on a project in which I am using dll provided by http://aforgenet.com/ in C#. I need to use the same thing in Golang. I have checked out CGO Documentation, but it is about C, not C#. Since binding in C# and C are different, I doubt it will work with CGO. How can I use C# DLL in Golang?

I am not able to understand the example given in this answer. It is about system libraries. If someone can give a very basic example of code written in C# being imported in Golang, I will be very grateful.

近期文章

  • go / golang服务器中的静态CSS文件
  • Golang Dep不会下载所有库文件
  • 二叉树基准测试结果
  • 如何在go lang中从json数组访问键和值
  • 通过一个http.ResponseWriter发送很少的响应
  • 如何将杜松子{proxy +}设置为杜松子酒和招摇的路径?
  • 如何正确处理运行时错误.Caller(0)
  • 无法从外部主机访问Docker部署的映像
  • 睡眠过程,直到在Go中完成
  • Ubuntu升级后的Golang MySQL连接超时
  • 创建C DLL并在Golang中使用它?
  • 如何使用Golang从MongoDB中的特定键获取值[重复]
  • 用golang压缩文件的文件夹会创建损坏的zip
  • 可以让调用父方法的孩子进入吗? [重复]
  • golang用duosecurity获取命令
  • 和Golang中一样,Python中是否有空白标识符? [重复]
  • 将JSON对象解组到GO结构时分配其他字段
  • 链接列表在Golang中不变
  • WSDL SOAP Go语言
  • 如何通过HTTPS提供静态文件

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华