- 博客(8)
- 资源 (2)
- 收藏
- 关注
转载 D2D 学习笔记第一课 初始化D2D 画一个矩形
头文件#include <D2D1.h>lib文件 #pragma comment(lib,"D2D1.lib")首先 新建一个 win32 程序 加入头文件和lib文件 步骤1.申明全局变量 步骤2.创建工厂 步骤3.画矩形 步骤4.清除资源/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*///声明全...
2020-01-13 13:57:28
1180
转载 Gdi+ 混合 Gdi 实现双缓冲绘图
Gdi+ 的双缓冲效果很差, 基本上是使用临时位图来实现的.效果没有Gdi那么好. HDC hMemDC = CreateCompatibleDC(hdc); // 创建兼容 DC HBITMAP hMemBitmap = CreateCompatibleBitmap(hdc, p_w_picpath.GetWidth(), p_w_picpath.GetHeight...
2019-12-23 13:19:16
904
原创 CArray数组/Vector/List/Map 用法
CArray基础 头文件 #include <afxtempl.h>C++并不支持动态数组,MFC提供了一个CArray类来实现动态数组的功能。有效的使用CArray类,可以提高程序的效率。MFC提供了一套模板库,来实现一些比较常见的数据结构如Array,List,Map。CArray即为其中的一个,用来实现动态数组的功能。一、CArray类的构造函数CAr...
2019-12-06 16:49:39
1367
原创 C语言实现的Tank游戏
文章来源于网络,如有侵权请联系删除,谢谢! 可供大家了解GDI显示图片功能。// tank.cpp : Defines the entry point for the application.//#include "stdafx.h"#include "resource.h"#include <stdio.h>#include <stdlib.h>#...
2019-12-06 14:32:19
394
原创 VC++ 定位特征码方法《方法来自 小蓝VC++ 传奇3 逆向三部曲》
VC++ 定位特征码方法《方法来自 小蓝VC++ 传奇3 逆向三部曲》 在此感谢小蓝的教程!!//格式化输出字符串信息CString gameCall::formatString(CString msg,CString addr,CString value){ addr = msg + " " + "地址 ----> 0x" + addr + " "; valu...
2018-10-29 11:58:54
1467
转载 VC定位特征码
//需要引入的头文件: #include <stdio.h> #include <stdlib.h> #include <windows.h> union Base { DWORD address; BYTE data[4]; }; /*****************************...
2018-10-22 15:44:28
939
转载 VC 定位特征码
// BaseAddrTools.cpp : Defines the entry point for the DLL application.// #include <windows.h>#include <tlhelp32.h>#include <stdio.h>BOOL GetProcessModuleHandle(DWORD PID,co...
2018-10-22 15:28:13
550
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人