- 博客(13)
- 资源 (13)
- 问答 (1)
- 收藏
- 关注
原创 Ubuntu24 (redroid)安装ashmem_linux
Ubuntu24 高版本kernel 运行redroid 安装编译ashmem_linux
2025-02-11 13:50:19
353
原创 libuv简单tcp和udp demo
demo详细代码可以到github查看:https://github.com/zym479466697/TestLibuv.git//服务端test代码void TestTcpSvrFunc(){ uv::CLooper* ptrLooper = new uv::CLooper; ptrLooper->InitLooper(); uv::CTcpServer server(DEF_PACK_HEAD_FLAG); server.AttachLooper(pt...
2020-10-21 15:07:15
883
原创 miniblink 封装duilib 控件 WkeWebkitUI 离屏渲染方式
demo可以到github查看:https://github.com/zym479466697/duilib-miniblink.gitWkeWebkitUI.h#ifndef __WKEWEBKIT__H_#define __WKEWEBKIT__H_#include <queue>#include <Windows.h>#include <obj...
2019-11-27 13:22:13
1587
2
原创 c++ win32 时区设置 兼容(xp,win7,win10)系统
typedef struct _REG_TZI_FORMAT{ LONG Bias; LONG StandardBias; LONG DaylightBias; SYSTEMTIME StandardDate; SYSTEMTIME DaylightDate;} REG_TZI_FORMAT;typedef struct _TIME_DYNAMIC...
2019-06-05 17:02:43
739
原创 duilib richedit 添加文本提示
duilib richedit添加文本提示添加两个成员变量提示文字和提示文字颜色 DWORD m_dwPlaceholderTextColor;CDuiString m_sPlaceholderText;添加painttext函数bool CRichEditUI::DoPaint(HDC hDC, const RECT& rcPaint, CControlUI
2017-04-20 13:39:25
2596
原创 stl map用boost库序列化
#include "stdafx.h"#include #include #include #include #include int _tmain(int argc, _TCHAR* argv[]){std::map m_accountMap;m_accountMap[1] = 1;m_accountMap[2] = 2;std::
2014-12-17 14:01:49
2018
转载 c++根据程序名结束进程
int main(){... //强制终止进程 CString killProcessName; killProcessName.Format(_T("%s.exe"), WINDOWTEXT); DWORD dwProcessId = GetProcessIdFromName(killProcessName); HANDLE handle = OpenProcess
2013-03-08 09:14:41
1809
原创 文件下载支持http和https
//下载文件BOOL CUpdateDlg::HttpDownLoad(const CString &strURL, const CString &saveName){ BOOL bRet = FALSE; DWORD dwServerType = 0; CString strServer, strObj; INTERNET_PORT nPort = 0; if (!A
2013-03-08 09:06:50
1454
原创 拖动无标题栏MFC对话框窗口
给对话框添加ON_WM_LBUTTONDOWN()事件在OnLButtonDown函数添加如下void CxxxDlg::OnLButtonDown(UINT nFlags, CPoint point){ // TODO: 在此添加消息处理程序代码和/或调用默认值 //拖拽对话框 PostMessage(WM_NCLBUTTONDOWN,HTCAPTION,MAKELPAR
2013-01-10 12:42:07
365
zipalign.exe 支持apk 2g对齐工具
2020-12-02
语法分析程序:通过设计、编制、调试一个典型的语法分析程序
2009-05-10
TA创建的收藏夹 TA关注的收藏夹
TA关注的人