上一页 1 2 3 4 5 6 ··· 9 下一页
  2015年5月10日
摘要: 1、Android静态变量的生命周期静态变量的生命周期遵守Java的设计。我们知道静态变量是在类被load的时候分配内存的,并且存在于方法 区。当类被卸载的时候,静态变量被销毁。在PC机的客户端程序中,一个类被加载和卸载,可简单的等同于jvm进程的启动和结束。那么在Android中 呢?用的Dalv... 阅读全文
posted @ 2015-05-10 21:48 meizixiong 阅读(2217) 评论(0) 推荐(0) 编辑
  2015年5月4日
摘要: (1)windows写日志系统 1 void writeDebugEventLog(TCHAR* pszMessage, WORD wType) 2 { 3 //#ifdef _DEBUG 4 5 HANDLE hEventSource = NULL; 6 const TC... 阅读全文
posted @ 2015-05-04 17:38 meizixiong 阅读(426) 评论(0) 推荐(0) 编辑
  2015年5月3日
摘要: 例子:将本地计算机的Monitor ID写入到注册表中(1)获取MonitorID BOOLEAN DeviceMonitorService::EnumClassDevice(const GUID * InterfaceClassGuid){ WriteEventLogEntry(L"Enum... 阅读全文
posted @ 2015-05-03 22:49 meizixiong 阅读(361) 评论(0) 推荐(0) 编辑
  2015年1月4日
摘要: UI design can be divided into three essential elements : functionality, aesthetics, and performance.The following are some design phase tasks that can... 阅读全文
posted @ 2015-01-04 13:31 meizixiong 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 一、资源1、字符串资源 LoadString LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);二、窗口类 1、系统类 The following table describes the system class... 阅读全文
posted @ 2015-01-04 10:47 meizixiong 阅读(270) 评论(0) 推荐(0) 编辑
  2014年12月31日
摘要: 1、格式化字符串(Writes formatted data to the specified string) wchar_t szMessage[260]; PWSTR pszFunction = L“Hello world !”; DWORD dwError = GetLastError(... 阅读全文
posted @ 2014-12-31 15:54 meizixiong 阅读(1088) 评论(0) 推荐(0) 编辑
  2014年12月30日
摘要: 一、参与别人已经建好的项目方法1、打开VS2013,切换到“团队资源管理器”,点上方“主页”右侧的下拉三角,选择项目->连接到团队项目,然后选择“克隆”,填入Git的Remote Url和要克隆到的本地目录(该目录必须为空),然后点克隆按钮即可将项目克隆到本地。 方法2、也可用第2步中安装的第三方G... 阅读全文
posted @ 2014-12-30 16:07 meizixiong 阅读(25022) 评论(3) 推荐(5) 编辑
  2014年12月25日
摘要: (1)在win32编程中,如何使用string类型#include using namespace std;LPTSTR lpCmdLine = L"hello world";string cmd = lpCmdLine;(2)字符格式基础: 传统的ansi字符在C语言中用char数据类型表示(... 阅读全文
posted @ 2014-12-25 18:19 meizixiong 阅读(609) 评论(0) 推荐(0) 编辑
摘要: ---恢复内容开始---代码选择1 区域代码选择按Shift选择整(行)块代码,可配合四个方向键(左右键:选择单个字符,上下键:上下行的当前列)、Home(当前行首)、End(当前行尾)、PgUp(当前页首)和PgDn(当前页尾)使用。2 单词(逐词)选择Ctrl + Shift +方向键(左键、右... 阅读全文
posted @ 2014-12-25 17:47 meizixiong 阅读(186) 评论(0) 推荐(0) 编辑
  2014年11月21日
摘要: char与TCHAR相互转化char strUsr[10] = "Hello";TCHAR Name[100];#ifdef UNICODE MultiByteToWideChar(CP_ACP, 0, strUsr, -1, Name, 100);#else strcpy(Name, ... 阅读全文
posted @ 2014-11-21 17:51 meizixiong 阅读(649) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页