17windows_17_listbox列表框#include #include #include "resource.h"CHAR szText[256] = { 0 };#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x), NULL,... ...
15windows_15_Edit编辑框#include #include #include "resource.h"CHAR szText[256] = { 0 };#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x), NULL, NU... ...
19windows_19_OwnerDraw自制按钮DIYBUTTON#include #include CHAR szText[256] = { 0 };#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x), NULL, NULL)HIN... ...
12Windows_Modeless_Dialog对话框#include #include #include "resource.h"CHAR szText[256] = { 0 };#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x), ... ...
#include #include #include "resource.h"CHAR szText[256] = { 0 };#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x), NULL, NULL)HINSTANCE g_hInst... ...
当开发插件的时候需要用到反射,在客户端动态加载遍历程序集,并调用每个程序集的方法。 创建一个控制台应用程序,首先设计一个接口: 在控制台应用程序下创建Plugins文件夹,控制台的可执行文件和所有程序集文件都生成在这里。右键控制台项目--"属性"--"生成",把"输出路径"设置成Plugins文件夹 ...
windows_21_Library_Class_DLL 动态库补充1 #include "windows_21_Library_Class_DLL.h"int CMath::Add( int nAdd1, int nAdd2 ){ return nAdd1 + nAdd2;}int CMath::... ...
// 7Windows_paint.cpp : 定义应用程序的入口点。//#include "stdafx.h"#include "7Windows_paint.h"#include "resource.h"#include HINSTANCE g_hInst = NULL;HANDLE g_hSt... ...
#include #include #include "resource1.h"//宏定义输出函数#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x), NULL, NULL);HINSTANCE g_hInst;HANDLE g_hStd... ...
#include #include CHAR szText[256] = { 0 };#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x), NULL, NULL)HINSTANCE g_hInst = NULL; //窗口句柄HANDLE... ...
// WIN_PAINT_MESSAGE.cpp : 定义应用程序的入口点。//#include "stdafx.h"#include "windows_Mouse.h"#include HINSTANCE g_hInst = NULL;HANDLE g_hStdout = NULL;CHAR sz... ...
// 2Window_Timer.cpp : 定义应用程序的入口点。//#include "stdafx.h"#include "2Window_Timer.h"#include HINSTANCE g_hInst;HANDLE g_hStdout = NULL;//宏定义输入函数#define P... ...
#include #include CHAR szText[256] = { 0 };#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x), NULL, NULL)HINSTANCE g_hInst = NULL; //窗口句柄HANDLE... ...
// 6WinRes.cpp : 定义应用程序的入口点。//#include "stdafx.h"#include "6WinRes.h"#include "Resource.h"#include #define PrintLog(x) WriteConsole(g_hStdout, x, strl... ...
// 3Windows_menu.cpp : 定义应用程序的入口点。//#include "stdafx.h"#include "3Windows_menu.h"#include HINSTANCE g_hInst;HANDLE g_hStdout = NULL;BOOL g_bCheckCut =... ...
// 4Windows_System_menu.cpp : 定义应用程序的入口点。//#include "stdafx.h"#include "4Windows_System_menu.h"#include #define PrintLog(x) WriteConsole(g_hStdout, x,... ...
Win32简单模板// 2Window_Timer.cpp : 定义应用程序的入口点。//#include #include #include "resource1.h"//宏定义输出函数#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x)... ...