05 2014 档案

摘要:GetMessage Function:BOOL GetMessage( LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax);消息循环:MSG msg;whil... 阅读全文
posted @ 2014-05-23 10:22 伍锋 阅读(494) 评论(0) 推荐(0) 编辑
摘要:Step 1:WNDCLASStypedef struct _WNDCLASS{ UINT style; WNDPROC lpfnWndProc; int cbClsExtra; int cbWndExtra; ... 阅读全文
posted @ 2014-05-23 10:09 伍锋 阅读(592) 评论(0) 推荐(0) 编辑
摘要:在VS2013中创建CLR空项目;在点击“项目”创建“Windows 窗体”;完成MyForm设计后,按F5运行跳出错误“必须定义入口点”。解决方案:在MyForm.cpp中,添加如下代码: 1 using namespace Project1; 2 3 [STAThreadAttribute] ... 阅读全文
posted @ 2014-05-17 18:21 伍锋 阅读(6056) 评论(0) 推荐(0) 编辑
摘要:第一步,激活Drive API首先,申请Dropbox的帐号;其次,在Dropbox for Developers上获得开发所需的App Key和App Sercet。1、登录Dropbox for Developers网站;2、点击App Console选项,选择Create app;3、点击Se... 阅读全文
posted @ 2014-05-10 09:46 伍锋 阅读(631) 评论(0) 推荐(0) 编辑
摘要:第一步,激活Drive API首先,注册Google帐号;其次,登录Google Developers Console;接着,建立工程和程序;紧接,激活APIs & auth;最后,选择Credentials。第二步,安装Google Client Library安装一个NuGet包(Google.... 阅读全文
posted @ 2014-05-10 09:10 伍锋 阅读(1291) 评论(0) 推荐(0) 编辑
摘要:1、装箱和拆箱的分别?答:装箱就是把值类型转换成引用类型;拆箱就是把引用类型转换成值类型。2、怎样创建一个线程?答:一使用Thread类;二使用Delegate.BeginInvoke;三使用ThreadPool.Queueworkitem。3、String是值类型,还是引用类型?与StringBu... 阅读全文
posted @ 2014-05-09 23:39 伍锋 阅读(229) 评论(0) 推荐(0) 编辑