02 2018 档案

摘要:1.基本字符2.常用正则表达式用户名^[a-z0-9_-]{3,16}$密码^[a-z0-9_-]{6,18}$十六进制值^#?([a-f0-9]{6}|[a-f0-9]{3})$电子邮箱^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$URL^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*... 阅读全文
posted @ 2018-02-12 15:29 yeren2046 阅读(341) 评论(0) 推荐(0)
摘要:用sendmessage实现进程间通信。1.WM_COPYDATA实现进程间通信实现方式是发送WM_COPYDATA消息。发送程序:LRESULT copyDataResult; //copyDataResult has value returned by other app CWnd *pOtherWnd = CWnd::FindWindow(NULL, "卡口图片管理");CString s... 阅读全文
posted @ 2018-02-11 14:58 yeren2046 阅读(5122) 评论(0) 推荐(1)
摘要:GUID的结构: 总大小为:4 + 2 + 2 + 8 = 16字节。 一个GUID内容形式为:{77046E66-C274-42CE-85AD-5DCFA5B4D2A5} 就是4+2+2+2+6 = 16字节。 “85AD” 是 Data4[0]和Data4[1]; “5DCFA5B4D2A5” 阅读全文
posted @ 2018-02-11 14:56 yeren2046 阅读(467) 评论(0) 推荐(0)