随笔分类 - WIN API学习笔记
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#include "stdafx.h"#include <windows.h>#include <string>#include "stdio.h"#include <i...
阅读全文
摘要:说实在的我的C++功底太浅,希望达人不要笑话做这篇文章主要是为了解决斯克迪亚的这个问题实现自动判定是否有.Net框架,没有就安装.Net框架!啥也不说了先来代码吧!代码中注释还算多,如仍有问题请在此文下面的评论中提出代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter...
阅读全文
摘要:通过动态创建批处理文件把程序运行的当前目录下的所有文件全部删除CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.IO;usingSystem.Configuration;usingSystem.Runtime.InteropServices;usingSyst
阅读全文
摘要:WinApi学习笔记-第一次离内存这么近
阅读全文
摘要:一:进程虚拟地址空间的实现二:数据共享与保护三:虚拟内存布局、分工、堆和栈四:总结
阅读全文
摘要:#include <windows.h>#include <stdio.h>#include <iostream>DWORD CreateChildProcess(...
阅读全文
摘要:读文件 #include <windows.h>#include <stdio.h>#include <iostream>DWORD MyReadFile(LPST...
阅读全文
摘要:#include <windows.h>#include <stdlib.h>#include <stdio.h>#include <cstring>#...
阅读全文
摘要:#include <windows.h>#include <stdlib.h>#include <stdio.h>#define BUFSIZE 1024void ...
阅读全文
摘要:#include <windows.h>#include <stdio.h>int WinMain(HINSTANCE hInstance, HINSTANCE hPrev...
阅读全文
摘要:在vs2008中新建一个VC++的空项目
在解决方案资源管理器,源文件文件夹中添加一个CPP文件
在此文件中输入以下代码
阅读全文