2007年1月9日

摘要: WSS中的Feature 实现一个feature 为了实现一个新的Feature,你需要增加一个子目录到这个目录下“\program files\Common Files\microsoft shared\web server extensions\12\template\features”,这个子目录中包括这个新增feature的定义 这个子目录包括一个文件Feature.xml,它定义了这... 阅读全文
posted @ 2007-01-09 16:26 子佩 阅读(271) 评论(0) 推荐(0)

2006年3月23日

摘要: 1,photoshop写文件时,在写一部分时会往回写几个字节,不知道是什么原因!一般是在7k~Ak之间吧 阅读全文
posted @ 2006-03-23 10:54 子佩 阅读(281) 评论(0) 推荐(0)

2005年12月12日

摘要: 具体步骤如下:1 设置 VMware 的虚拟com1.1 运行 VMware ,点击 "Edit virtual machine settings" 1.2 点... 阅读全文
posted @ 2005-12-12 14:52 子佩 阅读(2319) 评论(0) 推荐(0)

2005年10月27日

摘要: 一 #include class Sample{public: Sample() { } virtual void flag() const { MessageBox(0,"Sample","111",0); }};class SampleA:public Sample{public: SampleA() { } void ... 阅读全文
posted @ 2005-10-27 14:26 子佩 阅读(502) 评论(1) 推荐(0)

2005年10月17日

摘要: IsCycleList Check if a singly linked list is a cycle linked list. If the list is a cycle linked list, the method return the head node of the cycle, or else return null; please find bug below. struc... 阅读全文
posted @ 2005-10-17 09:56 子佩 阅读(457) 评论(0) 推荐(0)

2005年10月8日

摘要: unsigned long inet_addr(char* )//一个api,需要char*参数char* GetString()//自定义的函数,得到一个字符串char* s=GetString();inet_addr(s);在xp下运行正常,但是在win2k下就会出现问题:得不到应该有的值。改成如下:void GetString(char*)char[1024] s="\0";GetStrin... 阅读全文
posted @ 2005-10-08 10:56 子佩 阅读(1257) 评论(2) 推荐(0)

2005年9月13日

摘要: 如果不知道应该绑定哪一个IP,就应该用new IPEndPoint(IPAddress.Any, port) 阅读全文
posted @ 2005-09-13 14:46 子佩 阅读(578) 评论(0) 推荐(0)

2005年8月3日

摘要: 只读的文件用File.delete时会报错 阅读全文
posted @ 2005-08-03 14:22 子佩 阅读(1212) 评论(0) 推荐(0)

2005年7月22日

摘要: 用其模板生成的类,如果自增变量不是主键,就不会自动设置IsReadOnly这个属性,必须手动处理 阅读全文
posted @ 2005-07-22 16:00 子佩 阅读(273) 评论(0) 推荐(0)

2005年7月13日

摘要: CreateFileMapping之后一定要CloseHandle,否则会出现很多临时文件 阅读全文
posted @ 2005-07-13 15:30 子佩 阅读(1098) 评论(0) 推荐(0)