- 博客(5)
- 收藏
- 关注
原创 从当前进程模块程序读数据的代码
//--从当前进程模块程序读数据//--参数//--buf/接收数据的缓冲区//--size/期望读入的数据字节数(buf必须足够)//--pos/开始读数据的偏移位置//--返回//--实际读入数据字节数(一般应该等于size)int accessME(char* buf, unsigned int size, unsigned int pos = 0){ int ret = 0; if (NU
2004-05-27 11:13:00 910
原创 列举IE全部Element的代码
//--列举IE全部Element的代码#include "stdafx.h"#pragma warning(disable : 4049)#pragma warning(disable : 4192)#pragma warning(disable : 4146)//#import "shdocvw.dll" exclude("tagREADYSTATE")#import "shdoc
2004-05-27 10:26:00 1018
原创 生成GUID的代码
//--生成GUID的代码//--相关程序/微软guidgen.exe#include "stdafx.h"#include #include //--生成GUIDconst char* newGUID(){ static char buf[64] = {0}; GUID guid; if (S_OK == ::CoCreateGuid(&guid)) { _snprintf(buf,
2004-05-26 16:16:00 1184
原创 连接IE浏览器窗口的代码
//--连接IE浏览器窗口的代码// connIE.cpp : Defines the entry point for the console application.//#include "stdafx.h"#pragma warning(disable : 4049)#pragma warning(disable : 4146)//#import "shdocvw.dll" e
2004-05-21 17:53:00 931
原创 连接浏览器SHELL窗口的代码
//--连接浏览器SHELL窗口的代码// connShell.cpp : Defines the entry point for the console application.//#include "stdafx.h"//#import "shdocvw.dll" exclude("tagREADYSTATE")#import "shdocvw.dll"//#import "shd
2004-05-21 14:47:00 1288
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人