Roger Luo

超越梦想一起飞
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页

2013年1月31日

摘要: Preparation Using visual studio to create dll binary as your project in order to reuse code conveniently. 1. Install visual studio which includes visual c++ 2. Create a new project (File/Create/Pro... 阅读全文

posted @ 2013-01-31 11:26 Roger Luo 阅读(210) 评论(0) 推荐(0) 编辑

2013年1月30日

摘要: Compiling On windows platform, goto the unpack folder, such as d:/libcurl/curl, find the winbuild diretory. Open the vs command line window and use “nmake makefile.vc” to compile the code, here is th... 阅读全文

posted @ 2013-01-30 23:35 Roger Luo 阅读(1198) 评论(0) 推荐(0) 编辑

2013年1月29日

摘要: 如果是Windows 7,Shift+鼠标右键选择“Open command windows here”即可。 1) 进入注册表 HKEY_LOCAL_MACHINE/Software/Classes/Folder/Shell2) 在Shell下新建名为“Command Prompt”(显示在右键菜单中的文字)的Key。3) 在“Command Prompt”下新建名为“command”的Ke... 阅读全文

posted @ 2013-01-29 22:47 Roger Luo 阅读(216) 评论(0) 推荐(0) 编辑

2013年1月24日

摘要: 1. Show current time 2. Calculate execution time Use StopWatch classs, which locates in System.Diagnostics namespace. static void Main(string[] args){ Stopwatch s1 = new Stopwatch(... 阅读全文

posted @ 2013-01-24 21:43 Roger Luo 阅读(144) 评论(0) 推荐(0) 编辑

摘要: OSI model The Open Systems Interconnection (OSI) model (ISO/IEC 7498-1) is a product of the Open Systems Interconnection effort at the International Organization for Standardization. It is a prescrip... 阅读全文

posted @ 2013-01-24 20:56 Roger Luo 阅读(331) 评论(0) 推荐(0) 编辑

2013年1月22日

摘要: Basic operaiton on xml file in C# Background of XML XML document can be divied into three kinds of schema, DTD, XDR and XSD. Open xml file in synchronous way XmlDocument xml = new XmlDocument()... 阅读全文

posted @ 2013-01-22 22:28 Roger Luo 阅读(245) 评论(0) 推荐(0) 编辑

2013年1月12日

摘要: Windows Socket 2 A socket handle can optionally be a file handle in Windows Sockets 2. A socket handle from a Winsock provider can be used with other non-Winsock functions such as ReadFile, Wri... 阅读全文

posted @ 2013-01-12 13:45 Roger Luo 阅读(1132) 评论(0) 推荐(0) 编辑

2013年1月5日

摘要: methods1. GetVersionDWORD WINAPI GetVersion(void);The following illustration shows the format of the bits in system version.+-------------+----------+-------------------------+| Reserved | Build Id | Minor | Major |+-------------+----------+-------------------------+31 30 29 16 15 8 7 ... 阅读全文

posted @ 2013-01-05 18:31 Roger Luo 阅读(334) 评论(0) 推荐(0) 编辑

摘要: NLS(National Language Support)Background(背景)Each language has a language name and a language identifierthat indicate the particular code page (ANSI, DOS, Macintosh) used to represent the geographical location for the language on the operating system.Data Type(数据类型)typedef WORD LANGID; typedef DWORD 阅读全文

posted @ 2013-01-05 17:07 Roger Luo 阅读(269) 评论(0) 推荐(0) 编辑

2013年1月3日

摘要: WinMain与mainWinMain的原型:int CALLBACK WinMain( __in HINSTANCE hInstance, __in HINSTANCE hPrevInstance, __in LPSTR lpCmdLine, __in int nCmdShow ); WinMain的定义:WinMain is the conventional name used for the application entry point for agraphical Windows-based application.#include <Windows.h> i... 阅读全文

posted @ 2013-01-03 14:20 Roger Luo 阅读(574) 评论(0) 推荐(0) 编辑

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页