2016年6月29日

Linux msgsnd : invalid argument

摘要: msgsnd(message id, buffer, sizeof buffer, ...); Important: buffer[0]不能为0!!! 阅读全文

posted @ 2016-06-29 09:56 蘇銀城 阅读(434) 评论(0) 推荐(0) 编辑

2015年4月7日

Convert Windows 32bit dirver to Windows 64bit

摘要: Pre-condition: 1.source code(vc6.0+WDK based)Development environment: 2.VS2013 3.WDK 8/8.1Steps: 1.Create a new project. File->New->Visual C++->Windo... 阅读全文

posted @ 2015-04-07 09:31 蘇銀城 阅读(553) 评论(0) 推荐(0) 编辑

2012年11月5日

How To: Use C Macros Efficiently in Your Code

摘要: Copy from:http://www.lainoox.com/how-to-use-c-macros-efficiently-in-your-code/C Debugging MacrosAny experienced programmer can relate to sprinkling their code with printf statements to try and figure out a NULL pointer, or perhaps whether a function has been reached or not. This is the first step to 阅读全文

posted @ 2012-11-05 22:17 蘇銀城 阅读(589) 评论(0) 推荐(0) 编辑

2011年7月25日

C++ 同步/异步与阻塞/非阻塞的区别

摘要: C++之 -------何为同步,异步何解,阻塞了呢?非阻塞呢?走访各种大小论坛,纠集纵多风云看法,贴于此处表我观点,界内人士若点迷津,小弟定会铭记终生,愿高手们不吝赐教,长江后浪带着前浪,拥抱光明永远灿烂. --------题记以例子说明我对此的理解: 假设我是老板,你是员工,我手头上有件事,做完这件事我要回家拿东西. 同步: 我吩咐你去做事情,同时我在一旁等待结果,直到你做完我才回家. 阻塞: 与此同时,在等待的这段时间内,如果我去睡了一觉(线程被挂起),什么事也不能做,即为阻塞 非阻塞: 相反,如果我继续做别的事,则为非阻塞 异步: 我吩咐你去做事情,我直接回家,你做完后在通知我 阻塞: 阅读全文

posted @ 2011-07-25 00:26 蘇銀城 阅读(4307) 评论(0) 推荐(4) 编辑

2011年7月24日

Sql Server迁移助手(SSMA) 将Oracle数据库转成Sql Server 2008

摘要: 首先到微软官方网站寻找 下载 SSMA(Sql Server迁移助手)步骤1: 先安装Oracle 11g 和 Sql Server 2008步骤2:下载SSMA, 或者向我勒索 ,然后安装……步骤3: 打开各种所需的服务(怎么打??????Win+R-------->>>services.msc---------->>>Enter)步骤4: 如果你有一个 dmp 文件(这是从Oracle导出来的一个 备份的文件) ,先将他导入到Oracle中怎么导入呢????如图: 1.建议先创建一个用户 Create user 用户名 identified by 密码 阅读全文

posted @ 2011-07-24 13:35 蘇銀城 阅读(20840) 评论(7) 推荐(3) 编辑

导航