2022年7月27日

枚举进程信息

摘要: // 枚举进程.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #include <iostream> using namespace std; #include <windows.h> #include <winternl.h> typedef NTSTATUS ( 阅读全文

posted @ 2022-07-27 19:30 thinkinc999 阅读(42) 评论(0) 推荐(0) 编辑

2021年3月8日

Windows产品测试集合整理

摘要: 操作系统 2009年7月22日,Windows 7正式发布,,2020年1月14日,微软停止对Windows7的更新 Windows 7包含6个版本,分别为Windows 7 Starter(初级版)、Windows 7 Home Basic(家庭普通版)、Windows 7 Home Premiu 阅读全文

posted @ 2021-03-08 17:42 thinkinc999 阅读(107) 评论(0) 推荐(0) 编辑

2020年10月14日

随手写的 IniFiles

摘要: IniFiles.h 1 #pragma once 2 #include 3 #include 4 #include 5 6 class IniFiles 7 { 8 public: 9 IniFiles() 10 { 11 12 } 13 14 IniFiles(std::string file) 15 { 16 ... 阅读全文

posted @ 2020-10-14 17:34 thinkinc999 阅读(144) 评论(0) 推荐(0) 编辑

2020年10月9日

Windows C++ TLS 实现连接163邮箱

摘要: 1 // Compiles with Visual Studio 2008 for Windows 2 3 // This C example is designed as more of a guide than a library to be plugged into an application 4 // That module required a couple of majo... 阅读全文

posted @ 2020-10-09 16:06 thinkinc999 阅读(526) 评论(1) 推荐(0) 编辑

2020年9月29日

Windows创建个人证书(C++实现,使用 as administrator)

摘要: 1 #include "stdio.h" 2 #include "conio.h" 3 #include "windows.h" 4 #include "wincrypt.h" 5 #include "tchar.h" 6 7 8 #pragma comment(lib, "Crypt32.lib") 9 10 11 int SelfSignedCertificateT... 阅读全文

posted @ 2020-09-29 10:55 thinkinc999 阅读(497) 评论(0) 推荐(0) 编辑

2020年9月23日

单进程单线程IOCP的实现(含客户端和服务端)

摘要: server.cpp 1 // TestIOCPone.cpp : This file contains the 'main' function. Program execution begins and ends there. 2 // 3 #define _WINSOCK_DEPRECATED_NO_WARNINGS 4 5 #include 6 #include 7 #i... 阅读全文

posted @ 2020-09-23 10:26 thinkinc999 阅读(280) 评论(0) 推荐(0) 编辑

2020年9月21日

32/64位下面的基本数据类型的大小

摘要: 1 // Test64.cpp : This file contains the 'main' function. Program execution begins and ends there. 2 // 3 4 #include 5 6 int main() 7 { 8 printf("char size = %d\n", sizeof(char)); 9 ... 阅读全文

posted @ 2020-09-21 16:44 thinkinc999 阅读(215) 评论(0) 推荐(0) 编辑

2020年9月15日

WMI 获取操作系统名称和版本

摘要: SysInfo.cpp 1 #pragma once 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 10 class SysInfo 11 { 12 public: 13 SysInfo(); 14 virtual ~SysInfo();... 阅读全文

posted @ 2020-09-15 18:48 thinkinc999 阅读(757) 评论(0) 推荐(0) 编辑

2020年8月25日

http 基本代理 C++实现(极简)

摘要: 1 // ProxySvr.cpp : This file contains the 'main' function. Program execution begins and ends there. 2 // 3 #define _WINSOCK_DEPRECATED_NO_WARNINGS 1 4 #include 5 #include 6 #include 7 #inc... 阅读全文

posted @ 2020-08-25 14:33 thinkinc999 阅读(837) 评论(0) 推荐(0) 编辑

2020年8月21日

获取内存大小、CPU大小、硬盘大小及使用率

摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 #include 12 13 using namespace std; 14 #pragma comment(lib, "Psa... 阅读全文

posted @ 2020-08-21 15:14 thinkinc999 阅读(359) 评论(0) 推荐(0) 编辑

导航