windows 4 跨进程使用句柄、操作内存
跨进程使用句柄
A进程拿到句柄,把值给B进程,B进程能不能直接使用?
继承方式创建MFC应用
新建按钮
使用多字节字符集
新建编辑框,修改ID
1234567891011121314151617181920212223242526272829303132333435void CADlg::OnBnClickedButton1(){ // TODO: 在此添加控件通知处理程序代码 STARTUPINFO si; PROCESS_INFORMATION pi; ZeroMemory(&si, sizeof(si)); si.cb = sizeof(si); ZeroMemory(&pi, sizeof(pi)); SECURITY_ATTRIBUTES sa = {}; sa.nLength = sizeof(sa); sa.bInheritHandle = TRUE;//进程句柄允许被继承 //Start the child process. if (!CreateProcess(NULL, "B. ...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment