Fork me on GitHub
摘要: 自己根据qrencode的源码导了一个dll动态库,见: https://www.cnblogs.com/HelloQLQ/p/16364825.html 自己希望能用C#语言调用以下。 首先构建需要的对象: [StructLayout(LayoutKind.Sequential, CharSet 阅读全文
posted @ 2022-06-10 22:42 HelloLLLLL 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 首先把需要调用的动态库dll和它依赖的对象都要放入到运行目录,debug环境就是debug目录下了。 然后就写代码: #include <iostream> #include <windows.h> #include<string.h> //extern int OutPutQrCode(int v 阅读全文
posted @ 2022-06-10 22:21 HelloLLLLL 阅读(1157) 评论(0) 推荐(0) 编辑
摘要: 在网上搜二维码库:qrencode,源码下载:https://github.com/fukuchi/libqrencode 我的是windows环境,IDE是vs2022。 建立一个动态库的空工程。 把源码下载下来,其中test文件夹 use文件夹 和cmake文件夹我没有使用,直接把根目录的所有. 阅读全文
posted @ 2022-06-10 22:14 HelloLLLLL 阅读(365) 评论(0) 推荐(0) 编辑