上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 36 下一页
摘要: 1.安装好默认的apache服务器2.将php的zip包解压缩到c:\php,并将这个目录加入path的环境变量3.修改httpd.conf,加入#================================================================ # For PHP 5 do something like this: LoadModule php5_module "C... 阅读全文
posted @ 2009-08-13 15:32 Fan Zhang 阅读(255) 评论(0) 推荐(0)
摘要: You can see the HTTP (hypertext transfer protocol) header from a web site using the standard Telnet program that comes with Windows. For example, to see the header from the root page of the Microsoft ... 阅读全文
posted @ 2009-08-12 13:30 Fan Zhang 阅读(214) 评论(0) 推荐(0)
摘要: wacom_features数组记录着各类wacom手写板型号的信息 其中第28个元素,和我这个手写板型号一样。且VendorID为USB_VENDOR_ID_WACOM,ProductID为0x65 其中函数wacom_graphire_irq是对手写板数据读取的重要函数。 x = data[2] | ((__u32)data[3] << 8); y = data[4] | ((_... 阅读全文
posted @ 2009-08-11 21:30 Fan Zhang 阅读(222) 评论(0) 推荐(0)
摘要: <SCRIPT LANGUAGE="JavaScript"> <!-- function escapeHTML(html) { var div = document.createElement('div'); var text = document.createTextNode(html); div.appendChild(text); return div.inner... 阅读全文
posted @ 2009-08-10 16:36 Fan Zhang 阅读(238) 评论(0) 推荐(0)
摘要: 1.5节封装的概念以把“一个对象的外观(接口)同其实际工作方式(实现)分离开为基础”。C++的问题在于这条原则并没有应用到二进制层次上,一次C++类既是接口又是实现。接口类引入的间接性相当于在客户和对象实现之间强制加入了一道二进制防火墙。1.6节保证C++接口类所强加的二进制防火墙只使用与编译器无关的语言特征,着可以解决编译器/连接器的依赖性问题。 阅读全文
posted @ 2009-08-10 00:29 Fan Zhang 阅读(213) 评论(0) 推荐(0)
摘要: Make Your JavaScript Code More Readable Using the with() Statement The with() statement in JavaScript is identical to the With statement found in Visual Basic. Using with(), you can reduce object ref... 阅读全文
posted @ 2009-08-07 12:09 Fan Zhang 阅读(256) 评论(0) 推荐(0)
摘要: NameVirtualHost 211.99.3.108:80 <VirtualHost 211.99.3.108:80> ServerAdmin wangdsheng@sina.com DocumentRoot D:/root/chinaterrier/upload ServerName www.chinaterrier.com ErrorLog logs/chinaterrier.... 阅读全文
posted @ 2009-08-06 17:44 Fan Zhang 阅读(132) 评论(0) 推荐(0)
摘要: 两个函数都是提供原子操作的函数。ExInterlockedXXXX需要自旋锁InterlockedXXXX不需要自旋锁 阅读全文
posted @ 2009-08-04 15:11 Fan Zhang 阅读(197) 评论(0) 推荐(0)
摘要: 1.Owner Draw当Button控件被设置成OwnerDraw属性时,父窗体就会接受到WM_DRAWITEM、WM_MEASUREITEM、WM_COMPAREITEM、WM_DELETEITEM四个消息。除了Button空间外,还有ListBox控件设置CBS_OWNERDRAWVARIABLE属性。The WM_DRAWITEM message is sent to the owner ... 阅读全文
posted @ 2009-07-30 23:48 Fan Zhang 阅读(1106) 评论(0) 推荐(0)
摘要: 一.常见问题 a.可以编译,不能执行的 AfxInitRichEdit(); b.升级默认的Riched版本(默认的有一些bug),如 可在InitInstance中添加 LoadLibrary("RICHED20.DLL") 最后注意 FreeLibrary 如果是CRichEditView基类的可用 BOOL CXXXXXXView::PreCreateWindow(CREATESTRUCT&... 阅读全文
posted @ 2009-07-30 18:38 Fan Zhang 阅读(5824) 评论(0) 推荐(0)
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 36 下一页