How to Use SWIG to Link Windows DLL with Golang

SWIG (Simplified Wrapper and Interface Generator) is a software development tool that connects C/C++ libraries with a variety of high-level programming languages such as Golang, Java, Python, PHP, Ruby and so on.  In this post, I’m going to demo how to use SWIG to automatically generate C wrapper code for linking Dynamsoft Barcode Reader DLL with cgo on Windows.

Read more