C++ libmysql.lib 1.字符集设置数据库uft8, VS2015 unicode,要先设置字符集 strcpy_s(sql, "set names utf8"); int ret = mysql_query(connect, sql); if (ret) { //showError(mysql_error(connect)); return mysql_errno(connect); }
ocx开发总结 1. 注册表设定cab解压的位置HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ActiveX Cacheocx解压到的目标位置由该项设定,默认为 C:\WIN
cJson 1。 创建数组string GetDataJson(int iErrCode, std::vector<std::array<char, Data_Len>> &vecData){ cJSON * resJson = NULL; resJson = cJSON_CreateObject(); //创建根数据对象 cJSON_AddNumberToObject(resJson, "err_code", iErrCode); cJSON* pFeaJso..
vb.net调用C++ 的dll,字符串传递 用VB.net调用我自己写的异步多线程socket库发送数据,作为物联网设备上应用。欢迎交流Public Class Form1 Private Declare Function CommStackInit Lib "EasyAsyncStack.dll" (ByVal a As Integer, ByVal b As Integer) As Integer Private Declare Function ES_ConnToServer Lib "EasyAsyncStack.dll
ocx开发经验,ActiveX开发快速入门外包 1. ocx下载解压的目标位置,由注册表项指定HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ActiveX Cache默认为C:\WINDOWS\Downloaded Program Filesinf文件也解压到该目录下载的ocx在资源管理器中不可见,使用dir命令可见。可以使用copy
职场中的沟通 沟通管理作为PMP中的十大知识领域之一,对项目的成败可以说是至关重要的。充分的沟通可以1.规范成员的行为(代码规范)2.交流信息,明确目标(先沟通再执行)3.激励员工改善绩效4.表达感情...
MinGW Cygwin MinGW 是让Windows 用户可以用上GNU 工具,比如GCC。Cygwin 提供完整的类Unix 环境,Windows 用户不仅可以使用GNU 工具,理论上Linux 上的程序只要用Cygwin 重新编译,就可以在Windows 上运行。如果程序只用到C/C++ 标准库,可以用MinGW 或Cygwin 编译。如果程序还用到了POSIX API,则只能用Cygwin 编译。程序经MinGW 编译后可以直接在Windows 上面运行。程序经Cygwin 编译后运行,需要依赖安装时附
gin-swagger // @title Swagger Example API// @version 1.0// @description This is a sample server Petstore server.// @termsOfService http://swagger.io/terms/// @contact.name API Support// @contact.url http://www.swagger.io/support// @contact.email support@swagge.
k8s网络(calico) 1. 安装使用kubectl apply -f 安装yaml, https://docs.projectcalico.org/archive/v3.16/manifests/calico.yaml- name: CALICO_IPV4POOL_IPIP value: "off"其中enss 是物理网卡的前缀,#定义ipv4自动发现网卡规则-name:IP_AUTODETECTION_METHOD...