diff --git a/.gitignore b/.gitignore index 485dee6..f548f70 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .idea +/main.bak diff --git a/README.md b/README.md index d4541cf..780e782 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,10 @@ 易语言调用 GoLang 编译的 DLL 示例 ![screenshot.png](screenshot.png) + +主要问题和解决方案: + +- DLL 要编译 32 位的, 请查看 Makefile +- GBK 和 UTF8 编码转换, 解决汉字乱码 +- Go 导出声明 __stdcall +- 易语言声明 DLL 命令要加 @ 开头, 解决堆栈错误, 默认是 __cdcel diff --git a/main.bak b/main.bak deleted file mode 100644 index 8507cbe..0000000 Binary files a/main.bak and /dev/null differ