会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
曦花
花儿开在春风里
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
14
下一页
2022年11月2日
转 微软Http错误Code解析、HTTP 响应状态码
摘要: https://www.cnblogs.com/XiHua/p/14734780.html https://learn.microsoft.com/zh-cn/windows/win32/wininet/wininet-errors?redirectedfrom=MSDN 微软Http错误Code解
阅读全文
posted @ 2022-11-02 14:29 曦花
阅读(68)
评论(0)
推荐(0)
2022年10月24日
mysql 忘记root密码
摘要: 忘记root密码 1、关闭正在运行的MySQL服务。(任务管理器,结束进程mysqld.exe) 2、打开DOS窗口,转到mysql\bin目录。 3、输入mysqld --skip-grant-tables 回车。 --skip-grant-tables 的意思是启动MySQL服务的时候跳过权限表
阅读全文
posted @ 2022-10-24 12:12 曦花
阅读(251)
评论(0)
推荐(0)
2022年7月19日
C++调用python脚本,先存着以后备用
摘要: 转自 https://blog.csdn.net/jinking01/article/details/118179325 环境: Windows10; python3.7.4; visual studio 2019; 安装python,opencv(如果用到的话),以及将二者目录添加到vs中的包含目
阅读全文
posted @ 2022-07-19 08:16 曦花
阅读(492)
评论(0)
推荐(0)
2022年7月15日
mysql连接。关闭。执行sql语句---执行插入insert。返回该插入产生的自增ID
摘要: 执行插入insert。返回该插入产生的自增ID CStringA db_name="XXX"; CStringA db_address = "X.X.X.X"; CStringA db_user = "UUU"; CStringA db_psd = "PPPP"; unsigned int db_p
阅读全文
posted @ 2022-07-15 15:29 曦花
阅读(82)
评论(0)
推荐(0)
2022年7月14日
MFC 对话框控件自适应
摘要: 先将对话框的Border属性由Dialog Frame设置为Resizing h文件中:afx_msg void OnSize(UINT nType, int cx, int cy); void ResizeUI(); vector<CRect> m_vec_rect_; cpp文件中: 1、 BE
阅读全文
posted @ 2022-07-14 15:53 曦花
阅读(341)
评论(0)
推荐(0)
2022年6月10日
非模态对话框不能响应PreTranslateMessage,用键盘钩子
摘要: h文件中 static CDlgMainPanel* gThis; HHOOK m_hHook; static LRESULT CALLBACK GetMessageProc(int nCode, WPARAM wParam, LPARAM lParam); 构造函数 m_hHook=NULL vo
阅读全文
posted @ 2022-06-10 23:03 曦花
阅读(302)
评论(0)
推荐(0)
2022年6月6日
WinInet编程的问题,HttpSendRequest总是返回ERROR_HTTP_INVALID_SERVER_RESPONSE(12152)
摘要: 转自https://bbs.csdn.net/topics/100078293?list=5901 在公司的机器上运行正常,但有点慢。在家里却无法访问网络,HttpSendRequest()返回错误代码:ERROR_HTTP_INVALID_SERVER_RESPONSE.(12152) 是我在加h
阅读全文
posted @ 2022-06-06 16:07 曦花
阅读(712)
评论(0)
推荐(0)
2022年5月27日
mysql update datetime类型==为空和字符串转换--细节记录
摘要: 一、mysql数据库里可以直接运行。 update _item_info set TIME_BEGIN=STR_TO_DATE('2022-04-01 17:46:38', '%Y-%m-%d %H:%i:%s'),TIME_END=STR_TO_DATE('2025-05-01 17:46:38'
阅读全文
posted @ 2022-05-27 19:00 曦花
阅读(1545)
评论(0)
推荐(0)
2022年5月19日
正则表达式 std
摘要: 中文的判断,要用wstring。std::wregex CString strName = _T(""); m_edit_roomname_.GetWindowText(strName); strName.Trim(); wstring szName = strName.GetBuffer(); s
阅读全文
posted @ 2022-05-19 11:03 曦花
阅读(224)
评论(0)
推荐(0)
2022年5月16日
TerminateThread
摘要: HANDLE hThread = m_thread->m_hThread; if (hThread) { if (WaitForSingleObject(hThread, 1) != WAIT_OBJECT_0) { TerminateThread(hThread, 0); } CloseHandl
阅读全文
posted @ 2022-05-16 21:43 曦花
阅读(40)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
14
下一页
公告