12Windows_Modeless_Dialog对话框#include #include #include "resource.h"CHAR szText[256] = { 0 };#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x), ... ...
分类:
Windows开发 时间:
2016-06-10 09:36:49
收藏:
0 评论:
0 赞:
0 阅读:
247
#include #include #include "resource.h"CHAR szText[256] = { 0 };#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x), NULL, NULL)HINSTANCE g_hInst... ...
分类:
Windows开发 时间:
2016-06-10 09:36:24
收藏:
0 评论:
0 赞:
0 阅读:
269
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::... ...
分类:
Windows开发 时间:
2016-06-10 09:35:09
收藏:
0 评论:
0 赞:
0 阅读:
224
// 7Windows_paint.cpp : 定义应用程序的入口点。//#include "stdafx.h"#include "7Windows_paint.h"#include "resource.h"#include HINSTANCE g_hInst = NULL;HANDLE g_hSt... ...
分类:
Windows开发 时间:
2016-06-10 08:31:20
收藏:
0 评论:
0 赞:
0 阅读:
325
#include #include #include "resource1.h"//宏定义输出函数#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x), NULL, NULL);HINSTANCE g_hInst;HANDLE g_hStd... ...
分类:
Windows开发 时间:
2016-06-10 08:31:09
收藏:
0 评论:
0 赞:
0 阅读:
366
#include #include CHAR szText[256] = { 0 };#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x), NULL, NULL)HINSTANCE g_hInst = NULL; //窗口句柄HANDLE... ...
分类:
Windows开发 时间:
2016-06-10 08:30:19
收藏:
0 评论:
0 赞:
0 阅读:
395
// WIN_PAINT_MESSAGE.cpp : 定义应用程序的入口点。//#include "stdafx.h"#include "windows_Mouse.h"#include HINSTANCE g_hInst = NULL;HANDLE g_hStdout = NULL;CHAR sz... ...
分类:
Windows开发 时间:
2016-06-10 08:29:59
收藏:
0 评论:
0 赞:
0 阅读:
276
// 2Window_Timer.cpp : 定义应用程序的入口点。//#include "stdafx.h"#include "2Window_Timer.h"#include HINSTANCE g_hInst;HANDLE g_hStdout = NULL;//宏定义输入函数#define P... ...
分类:
Windows开发 时间:
2016-06-10 08:29:50
收藏:
0 评论:
0 赞:
0 阅读:
310
#include #include CHAR szText[256] = { 0 };#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x), NULL, NULL)HINSTANCE g_hInst = NULL; //窗口句柄HANDLE... ...
分类:
Windows开发 时间:
2016-06-10 08:28:59
收藏:
0 评论:
0 赞:
0 阅读:
240
// 6WinRes.cpp : 定义应用程序的入口点。//#include "stdafx.h"#include "6WinRes.h"#include "Resource.h"#include #define PrintLog(x) WriteConsole(g_hStdout, x, strl... ...
分类:
Windows开发 时间:
2016-06-10 08:27:00
收藏:
0 评论:
0 赞:
0 阅读:
323
// 3Windows_menu.cpp : 定义应用程序的入口点。//#include "stdafx.h"#include "3Windows_menu.h"#include HINSTANCE g_hInst;HANDLE g_hStdout = NULL;BOOL g_bCheckCut =... ...
分类:
Windows开发 时间:
2016-06-10 08:26:30
收藏:
0 评论:
0 赞:
0 阅读:
223
// 4Windows_System_menu.cpp : 定义应用程序的入口点。//#include "stdafx.h"#include "4Windows_System_menu.h"#include #define PrintLog(x) WriteConsole(g_hStdout, x,... ...
分类:
Windows开发 时间:
2016-06-10 08:25:19
收藏:
0 评论:
0 赞:
0 阅读:
253
Win32简单模板// 2Window_Timer.cpp : 定义应用程序的入口点。//#include #include #include "resource1.h"//宏定义输出函数#define PrintLog(x) WriteConsole(g_hStdout, x, strlen(x)... ...
分类:
Windows开发 时间:
2016-06-10 08:24:55
收藏:
0 评论:
0 赞:
0 阅读:
183
5Windows_system_right_menu右键菜单 // 5Windows_system_right_menu右键菜单.cpp : 定义应用程序的入口点。//#include "stdafx.h"#include "5Windows_system_right_menu右键菜单.h"// 4... ...
分类:
Windows开发 时间:
2016-06-10 08:24:19
收藏:
0 评论:
0 赞:
0 阅读:
174
本文基于Roslyn项目中的Issue:#347 展开讨论. 回顾 首先,提出一个问题,C#中,如何使一个方法可返回"多个"返回值? 我们先来回顾一下C#6.0 及更早版本的做法。 在C#中,通常我们有以下4种方式使一个方法返回多条数据。 使用 KeyValue 组合 1 static void M ...
分类:
Windows开发 时间:
2016-06-10 06:13:19
收藏:
0 评论:
0 赞:
0 阅读:
344
一年前想写一个像cocoa那样,可以方便层动画开发的引擎,写着写着又逆向它的QuartzCore.framework,也就是CoreAnimation的底层,已经大半年没有搞windows这个引擎。大体来看,动画简单来说有9要素,矩形区域(x, y, w, h),仿射变换矩阵(translation ...
分类:
Windows开发 时间:
2016-06-10 06:13:09
收藏:
0 评论:
0 赞:
0 阅读:
293
1、关闭防火墙和selinux # service iptables stop # chkconfig --level 2345 iptables off # vim /etc/selinux/config 将enforcing=改成=>disabled 用getenforce获取当前selinux ...
分类:
Windows开发 时间:
2016-06-09 23:37:38
收藏:
0 评论:
0 赞:
0 阅读:
273
现在多数的项目开发中,网站和移动端都需要进行数据交互和对接,这少不了使用REST编写API接口这种场景。例如我目前的工作,移动端交由了另一团队开发,不同开发小组之间就需要以规范和文档作为标准和协作基础。良好的文档可以让开发事半功倍,而作为又懒又要效率又能交代的码农,当然最希望一切自动化,或用小聪明来 ...
分类:
Windows开发 时间:
2016-06-09 23:35:48
收藏:
0 评论:
0 赞:
0 阅读:
282
C# 委托(Delegate) C# 中的委托(Delegate)类似于 C 或 C++ 中函数的指针。委托(Delegate) 是存有对某个方法的引用的一种引用类型变量。引用可在运行时被改变。 委托(Delegate)特别用于实现事件和回调方法。所有的委托(Delegate)都派生自 System ...
分类:
Windows开发 时间:
2016-06-09 22:17:48
收藏:
0 评论:
0 赞:
0 阅读:
245
转载自MSDN。 ConcurrentBag<T> 类型公开以下成员。 方法 显示: 继承 保护 名称说明 Add 将对象添加到 ConcurrentBag<T> 中。 CopyTo 从指定数组索引开始,将 ConcurrentBag<T> 元素复制到现有的一维 Array 中。 Equals(Ob ...
分类:
Windows开发 时间:
2016-06-09 22:11:39
收藏:
0 评论:
0 赞:
0 阅读:
1480