2017年12月21日

摘要: static int LoadUsbSDK(CString curpath ) win10系统下 CString 函数加载dll直接跳过 加载dll最好不要带参数 阅读全文
posted @ 2017-12-21 14:19 lydstory 阅读(147) 评论(0) 推荐(0)
摘要: deviceStructClass* tmp = (DeviceStructClass *)m_ImgDevList.GetItemData(m_ImgDevList.GetSelectionMark()); if(tmp != NULL) { string devidstr; devidstr = 阅读全文
posted @ 2017-12-21 13:19 lydstory 阅读(144) 评论(0) 推荐(0)

2017年12月20日

摘要: smbpasswd -a lyd //添加smb用户 阅读全文
posted @ 2017-12-20 01:18 lydstory 阅读(119) 评论(0) 推荐(0)
摘要: 【问题】 在编译VMware下的Linux系统对从Windows中共享过来的文件,进行编译的时候,遇到: ln: creating symbolic link XXXXXX : Operation not supported 【环境】 VmWare的Linux + Windows XP + vmhg 阅读全文
posted @ 2017-12-20 01:06 lydstory 阅读(1293) 评论(0) 推荐(0)
摘要: 在编译uchardet时遇到这个错误: cmake_symlink_library: System Error: Operation not supported 创建链接不成功,要确认当前帐户下是否有权限在编译的目录中有创建链接的权限我使用vmware,在win7机器的共享目录中编译,无法创建链接, 阅读全文
posted @ 2017-12-20 00:34 lydstory 阅读(4151) 评论(0) 推荐(0)
摘要: 我用git add file添加文件时出现这样错误: fatal: Not a git repository (or any of the parent directories): .git 提示说没有.git这样一个目录,解决办法如下: git init就可以了! 阅读全文
posted @ 2017-12-20 00:20 lydstory 阅读(300) 评论(0) 推荐(0)

2017年12月19日

摘要: 删除文件夹下的文件 rm CMakeCache.txt 重新编译即可 安装g++ yum install gcc-c++ 阅读全文
posted @ 2017-12-19 23:59 lydstory 阅读(1227) 评论(0) 推荐(0)

2017年12月13日

摘要: #include <stdio.h>#include <time.h>int main(void){ time_t tick; struct tm tm; char s[100]; tick = time(NULL); tm = *localtime(&tick); strftime(s, size 阅读全文
posted @ 2017-12-13 17:59 lydstory 阅读(205) 评论(0) 推荐(0)
摘要: afx_msg LRESULT OnMyIconNotify(WPARAM wParam,LPARAM lParam); vc6 可以是void vs2015不可以 ON_MESSAGE(MYWM_NOTIFYICON, CMtextDlg::OnMyIconNotify) 前面必须加类名 阅读全文
posted @ 2017-12-13 16:01 lydstory 阅读(152) 评论(0) 推荐(0)
摘要: sqr::IDatabase *db=NULL;IDbConnection *conn = NULL;int main(int argc, char* argv[]) { db = GetDatabase(); conn =db->CreateConnection(); conn->execute( 阅读全文
posted @ 2017-12-13 11:12 lydstory 阅读(108) 评论(0) 推荐(0)

导航