Roger Luo

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

2013年3月3日

摘要: Modify password for root user 1. using root account to log on mysql mysql>set password =password(‘yourpwd’); mysql>flush privileges; 2. using grant statement mysql>grant all on *.* to root@’local... 阅读全文

posted @ 2013-03-03 15:58 Roger Luo 阅读(508) 评论(0) 推荐(0) 编辑

2013年3月2日

摘要: Synchronously loading image PictureBox pbx = new PictureBox();pbx.Image = Image.FromFile(filename);or PictureBox pbx = new PictureBox();pbx.Load(filename); // filename could be the url file:/... 阅读全文

posted @ 2013-03-02 18:36 Roger Luo 阅读(7192) 评论(0) 推荐(0) 编辑

摘要: 1. Preparation Download the installation package(.iso) on msdn website. 2. Installation Guide Load iso file by virutal tool, recommend to use the virtual cd-rom control panel tool whichi is publis... 阅读全文

posted @ 2013-03-02 16:44 Roger Luo 阅读(380) 评论(0) 推荐(0) 编辑

摘要: Assuming there are two panels in a winform, show like below. Panel1 Panel2 Panel1.dock is left. Panel2.dock is fill. Right now, add a status bar at the bottom of this wi... 阅读全文

posted @ 2013-03-02 09:57 Roger Luo 阅读(5437) 评论(1) 推荐(1) 编辑

2013年2月28日

摘要: Switching Windows Project and Console Project If you build up a win32 console project and want to convert to windwos application. You should change the subsystem property on link/subsystem from /co... 阅读全文

posted @ 2013-02-28 15:34 Roger Luo 阅读(607) 评论(0) 推荐(0) 编辑

2013年2月20日

摘要: Structure Introduction typedef struct hostent { char FAR *h_name; char FAR FAR **h_aliases; short h_addrtype; short h_length; char FAR FAR **h_addr_list;} HOSTENT, *P... 阅读全文

posted @ 2013-02-20 09:57 Roger Luo 阅读(320) 评论(0) 推荐(0) 编辑

2013年2月8日

摘要: void cast of argc and argv stop the compiler from complaining about unused variables int main(int argc, char **argv){ (void)argc; /* we don't use any arguments in this example */ (void)a... 阅读全文

posted @ 2013-02-08 03:24 Roger Luo 阅读(270) 评论(0) 推荐(0) 编辑

摘要: typedef struct _OVERLAPPED { ULONG_PTR Internal; ULONG_PTR InternalHigh; union { struct { DWORD Offset; DWORD OffsetHigh; }; PVOID Pointer; }; HANDLE hEvent;} OVERLAP... 阅读全文

posted @ 2013-02-08 01:50 Roger Luo 阅读(153) 评论(0) 推荐(0) 编辑

2013年2月7日

摘要: Exception Handling Stack around the variable was corrupted 内存越界将会导致这个异常出现,例如如下代码: void Reset(void * pv){ if (pv) { double * pd = reinterpret_cast<double *>(pv); *pd = 0.0; ... 阅读全文

posted @ 2013-02-07 14:19 Roger Luo 阅读(194) 评论(0) 推荐(0) 编辑

2013年2月5日

摘要: Background UTC: Coordinated Universal Time. GMT: Greenwich Mean Time. FILETIME: LOCALTIME: SYSTEMTIME: STRUCTURE/DEFINITION For windows SYSTEMTIME structure. The time is either in coordinated ... 阅读全文

posted @ 2013-02-05 14:08 Roger Luo 阅读(483) 评论(0) 推荐(0) 编辑

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