走路应该留下脚印

人生的代码我来书写

导航

2016年11月18日 #

ipv6过审函数

摘要: int _ResolveIPv4Address(const char* ipv4_str, char* buffer, int bufferSize) { struct addrinfo hints, *res; memset(&hints, 0, sizeof(hints)); hints.ai_family = PF_UNSPEC; hints.ai... 阅读全文

posted @ 2016-11-18 16:25 wingfay 阅读(162) 评论(0) 推荐(0) 编辑

2011年5月13日 #

转.iPhone开发网站、论坛、博客

摘要: http://cocoachina.com/ 大量iPhone开发资料,教学,经验,还有自曝。http://www.javaeye.com/forums/board/mobile iPhone开发论坛,人气鼎盛,大量自曝,还有Android的讨论http://developer.apple.com/iphone/ 苹果iPhone开发官方主页,提供大量实例、文档和教学视频http://developer.apple.com/contact/phone.html 苹果的支持http://www.stanford.edu/class/cs193p/ 斯坦福大学的iPhone课程http://bit 阅读全文

posted @ 2011-05-13 14:14 wingfay 阅读(222) 评论(0) 推荐(0) 编辑

2011年3月31日 #

NSLog的使用

摘要: NSLog的定义 NSLog定义在NSObjCRuntime.h中,如下所示: void NSLog(NSString *format, …); 基本上,NSLog很像printf,同样会在console中输出显示结果。不同的是,传递进去的格式化字符是NSString的对象,而不是chat *这种字符串指针。 示例 NSLog可以如下面的方法使用: NSLog (@"this is a test"); NSLog (@"string is :%@", string); NSLog (@"x=%d, y=%d", 10, 20); 但是 阅读全文

posted @ 2011-03-31 16:35 wingfay 阅读(283) 评论(0) 推荐(0) 编辑

2010年6月12日 #

Could not load type System.Security.Authentication.....

摘要: 如果WCF出现这个错误,请把 KB979909 & KB976769v2 两个补丁删除.Could not load type 'System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy' from assembly 'System, Version=2.0.0.0, Culture=neutr... 阅读全文

posted @ 2010-06-12 10:58 wingfay 阅读(471) 评论(0) 推荐(0) 编辑

2009年8月13日 #

[原创]Prism Command 和 IsEnabled 的冲突解决方法

摘要: 在开发Silverlight项目中,学习使用MVVM ,在Button的click上想使用Prism下的Click Command方法来处理Click事件,发现当用到Click事件绑定的时候,绑定IsEnabled的属性不起作用了。XAML代码如下[代码]C#代码如下[代码]郁闷死我了,在网上找资料发现了这个 引用The Click.Command attached property provid... 阅读全文

posted @ 2009-08-13 00:44 wingfay 阅读(956) 评论(0) 推荐(0) 编辑

2009年3月17日 #

[ZT]JScript下Array对象的性能问题

摘要: 原发表于:hax的技术部落格 今天看了微软JScript官方blog上去年的两篇文章: http://blogs.msdn.com/jscript/archive/2008/03/25/performance-optimization-of-arrays-part-i.aspx http://blogs.msdn.com/jscript/archive/2008/04/08/performa... 阅读全文

posted @ 2009-03-17 13:33 wingfay 阅读(244) 评论(0) 推荐(0) 编辑

2009年2月5日 #

获取地区的Resolve Weather Location ID

摘要: http://www.aspnetresources.com/tools/locid.aspx 阅读全文

posted @ 2009-02-05 14:34 wingfay 阅读(636) 评论(0) 推荐(0) 编辑

Using .NET C# LDAP Library(Novell.Directory.Ldap)

摘要: 说明在这里 http://www.novell.com/coolsolutions/feature/11204.html 此Library需要的Mono.Security.dll 阅读全文

posted @ 2009-02-05 14:22 wingfay 阅读(1291) 评论(0) 推荐(0) 编辑

WINDOWS下搭建LDAP服务器

摘要: 原文地址: http://mguessan.free.fr/nt/openldap_en.html LDAP服务器:http://download.bergmans.us/openldap/openldap-2.2.29/openldap-2.2.29-db-4.3.29-openssl-0.9.8a-win32_Setup.exe 如果上面的下载不了就用这个路径下载我 还要修改一个地方:... 阅读全文

posted @ 2009-02-05 14:10 wingfay 阅读(3457) 评论(0) 推荐(0) 编辑

[转帖]LDAP Schema的概念和基本要素

摘要: LDAP Schema的概念和基本要素 阅读全文

posted @ 2009-02-05 13:58 wingfay 阅读(876) 评论(0) 推荐(0) 编辑