随笔分类 - MS
摘要:windows下,全文件名的字符长度是有限制的,众所周知,是MAX_PATH,260。对于这个,几点具体解释:1. 这个260指的是包含目录到文件名的全路径字符长度。2. 实际上,测试可以发现: --加上null,你在资源管理器里只能创建259个字符的全文件名,即实际上只能创建MAX_PATH -2 = 258字符的路径。 --你可以创建c:\长目录\abc.txt <= 258,也可以创建c:\abc\长文件名.txt <= 258。 --创建每一级目录的时候,可以输入的目录名字符是有限制的,规则就是:至少保留下了 11个字符(8.3规则?)使得最内层目录仍然可以创建出文件
阅读全文
摘要:转自: http://www.windows7fans.info/windows7/2079.htmlwin7/XP双系统安装教程 Windows7粉丝之家 2009年08月21日 22:18 评论» 今天我们来看看安装XP和Windows 7双系统详细说明,Windows 7离我们越来越近了。 安装前说明: 1、先装XP,再装Windows 7,最好不要反过来,不然XP不会把W...
阅读全文
摘要:随便在一个地方新建一个文件夹,然后重命名为: GodMode.{ED7BA470-8E54-465E-825C-99712043E01C} 再看这个文件夹,图标马上变了,双击打开,出现一个你从来没见过的界面,仔细看其实是控制面板,只不过这个控制面板是不分级的,操作任何一个功能都只要一个双击而已。
阅读全文
摘要:在安装office的过程中,收到如下错误:MS office在安装过程中出现错误。一个典型原因是:windows installer太旧了。。那就update到installer4.5就解决了!
阅读全文
摘要:1. VS IDE Automation Model. It's a set of API that can visit everything in VS IDE. VS addin is developed with the assistance of it.2. MS UI Automation Model. It's a set of API (separate ones for C++ a...
阅读全文
摘要:最近参加了公司的一个program competition,做个小工具。其中涉及到一个盲点。 需求是:在代码中访问另一个program的进程,获取它的窗口句柄,并在它的窗口上对某一个控件进行鼠标点击操作以执行相应的命令。google来baidu去,终于有思路了:原来需要用到MS的UI automation library。MS提供了面向c/c++的API,也提供了面向managed code的AP...
阅读全文
摘要:Here is an MSDN link that describes what registration-free com is: http://msdn.microsoft.com/en-us/library/fh1h056h.aspx A whole walkthrough article: http://msdn.microsoft.com/en-us/library/ms973913.a...
阅读全文
摘要:Registry-Free COM Registration InstallShield 2008 With Reg-Free COM, COM data is written to an application manifest file that is stored in the application folder. The manifest file is an XML file that...
阅读全文
摘要:[From MSDN]The NTFS file system provides the ability to create a system representation of a file or directory in a location in the directory structure that is different from the file or directory obje...
阅读全文

浙公网安备 33010602011771号