随笔分类 -  Windows

Critical Section vs. Mutex
摘要:http://blogs.msdn.com/b/ce_base/archive/2007/03/26/critical-section-vs-mutex.aspx 阅读全文

posted @ 2011-03-09 16:48 smwikipedia 阅读(148) 评论(0) 推荐(0)

lib和dll文件的区别和联系
摘要:.dll是在你的程序运行的时候才连接的文件,因此它是一种比较小的可执行文件格式,.dll还有其他的文件格式如.ocx等,所有的.dll文件都是可执行。.lib是在你的程序编译连接的时候就连接的文件,因此你必须告知编译器连接的lib文件在那里。一般来说,与动态连接文件相对比,lib文件也被称为是静态连接库。当你把代码编译成这几种格式的文件时,在以后他们就不可能再被更改。如果你想使用lib文件,就必须... 阅读全文

posted @ 2009-12-25 15:25 smwikipedia 阅读(405) 评论(0) 推荐(0)

Windows Server 2008 R2 x64fre Download.
摘要:Source: http://keznews.com/6009_Download_Windows_Server_2008_R2_RTM_Build_7600_16385_Leaked_Home_Made_DVD_ISOWindows Server 2008 R2 also has the same build version number of 6.1.7600.16385.090713-1255... 阅读全文

posted @ 2009-08-08 01:54 smwikipedia 阅读(1464) 评论(0) 推荐(0)

Running 32-bit apps in x64 Windows: Registry redirection
摘要:Brien M. Posey, Contributor10.04.2006When a 32-bit application is run on top of an x64 version of Windows, the WOW64 emulator redirects the Program Files folder and calls to DLL files. But these aren'... 阅读全文

posted @ 2009-07-15 16:40 smwikipedia 阅读(271) 评论(0) 推荐(0)

升级到Win2008 SP2 后出现 Storflt 驱动错误日志事件
摘要:症状: The following boot-start or system-start driver(s) failed to load: storflt[代码]解决方法: sc config storflt start= disabled 或者 sc delete storflt 相关文章:http://social.technet.microsoft.com/Forums/en-US/win... 阅读全文

posted @ 2009-06-03 10:56 smwikipedia 阅读(1733) 评论(0) 推荐(0)

Running CMD.EXE as Local System
摘要:Many times in the past I had to run an interactive command-line shell under the Local SYSTEM account. That is, a CMD window on your desktop running under the system account. This technique is extremel... 阅读全文

posted @ 2009-06-02 16:12 smwikipedia 阅读(768) 评论(0) 推荐(0)

[转]DllMain详解
摘要:版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明http://proc.blogbus.com/logs/36619998.html 1 DLL的进入/退出函数 1.1 DllMain简介 跟exe有个main或者WinMain入口函数一样,DLL也有一个入口函数,就是DllMain。以“DllMain”为关键字,来看看MSDN帮助文档怎么介绍这个函数的。 The DllMai... 阅读全文

posted @ 2009-04-06 22:21 smwikipedia 阅读(1496) 评论(0) 推荐(0)

Windows脚本 - %~dp0的含义
摘要:更改当前目录为批处理本身的目录 有些晕吧?不急,我举例 比如你有个批处理a.bat在D:\qq文件夹下 a.bat内容为 cd /d %~dp0 在这里 cd /d %~dp0的意思就是cd /d d:\qq %0代表批处理本身 d:\qq\a.bat ~dp是变量扩充 d既是扩充到分区号 d: p就是扩充到路径 \qq dp就是扩充到分区号路径 d:\qq 扩充变量语法详解: :: 选项语... 阅读全文

posted @ 2009-03-30 02:16 smwikipedia 阅读(42205) 评论(0) 推荐(4)

Windows脚本 - 关于本机ARP静态绑定批处理文件讲解[绑定ip-mac脚本详解]
摘要:http://www.x5dj.com/Blog/00534041/00389986.shtml 原批处理文件如下: @echo off if exist ipconfig.txt del ipconfig.txt ipconfig /all >ipconfig.txt if exist phyaddr.txt del phyaddr.txt find "Physical Address" ipc... 阅读全文

posted @ 2009-03-30 01:08 smwikipedia 阅读(1163) 评论(0) 推荐(0)

Windows脚本 - Bat批处理命令使用教程
摘要:原文url: http://www.x5dj.com/Blog/00534041/00389984.shtml 这是一篇技术教程,我会用很简单的文字表达清楚自己的意思,你要你识字就能看懂,就能学到知识。写这篇教程的目的,是让每一个看过这些文字的朋友记住一句话:如果爱可以让事情变的更简单,那么就让它简单吧!看这篇教程的方法,就是慢!慢慢的,如同品一个女人、一杯茗茶,你会发现很多以前就在眼前的东西突然... 阅读全文

posted @ 2009-03-30 01:06 smwikipedia 阅读(24207) 评论(3) 推荐(2)

Windows脚本 - 批处理中能够使用的系统变量
摘要:其实批处理中能够使用的系统变量,就是我的电脑中的环境变量。 以下为原文,可以大致看一下,用的时候能有个印象。 众所周知,批处理中有很多系统变量,不过有些不常用到的可能我们根本就没听过,下面我就来讲讲所有的系统变量。 %ALLUSERSPROFILE% 本地“所有用户”配置文件的位置。 %APPDATA% 本地默认情况下应用程序存储数据的位置。 %CD% 本地当前目录字符串。 %CMDCMDLINE... 阅读全文

posted @ 2009-03-30 01:04 smwikipedia 阅读(853) 评论(0) 推荐(0)

Windows脚本 - for 命令
摘要:http://sunnymelon.javaeye.com/blog/282342 原文URL:http://hi.baidu.com/klight/blog/item/40c8c48d2a821814b21bbaac.html FOR这条命令基本上都被用来处理文本,但还有其他一些好用的功能! 看看他的基本格式(这里我引用的是批处理中的格式,直接在命令行只需要一个%号) FOR 参数 %%变量名 ... 阅读全文

posted @ 2009-03-30 01:03 smwikipedia 阅读(2497) 评论(0) 推荐(0)

Widnows脚本 - Set 命令
摘要:原文URL:http://hi.baidu.com/yanguang1670/blog/item/3ade5ccb39bdf419bf09e672.html 注:对原文略有改动。 一、设置自定义变量 Bat代码 @echo off set var=我是值 echo %var% pause @echo off set var=我是值 echo %var% paus... 阅读全文

posted @ 2009-03-30 01:02 smwikipedia 阅读(442) 评论(0) 推荐(0)

Windows脚本 - Shift 命令
摘要:shift 命令详解 shift 是将所有参数往前移动一位。 shift /2 是从第2个参数开始将后面的参数全部往前移动一位,但不影响前面的参数位置(即:不影响1) shift /3 是从第3个参数开始将后面的参数全部往前移动一位,但不影响前面的参数位置(即:不影响1,2) 依次类推 …… …… 例1 shift.bat Batch代码 @echo off echo 移位前参数:... 阅读全文

posted @ 2009-03-30 01:01 smwikipedia 阅读(758) 评论(0) 推荐(0)

ERRORLEVEL is not %ERRORLEVEL%
摘要:ERRORLEVEL is not %ERRORLEVEL% http://blogs.msdn.com/oldnewthing/archive/2008/09/26/8965755.aspx The command interpreter cmd.exe has a concept known as the error level, which is the exit code of the p... 阅读全文

posted @ 2009-03-29 23:24 smwikipedia 阅读(541) 评论(0) 推荐(0)

关于nmake, build , sources 文件 -WDM驱动程序设计之编译安装篇
摘要:http://www.yesky.com/20020819/1625888.shtml 设计开发好自己的WDM驱动程序后,为了运行该驱动程序,我们必须编译和安装它们。 编译设备驱动程序的方法 安装DDK后,在DDK程序组下有Check和Free两个编译环境,Check环境用于编译带调试信息的驱动程序,Free则是编译正式发布版本的环境。通常情况下设备驱动程序的编译采用命令行的方式。通过一... 阅读全文

posted @ 2009-03-25 17:06 smwikipedia 阅读(1787) 评论(0) 推荐(0)

DLL的Export和Import
摘要:http://blog.csdn.net/diaoni/archive/2005/02/15/288028.aspx DLL的export是指将DLL中的函数和数据输出到其它程式中,以供其使用。DLL的import是指使用DLL的程式引入DLL中的函数和数据。 DLL的export DLL中包含有一个表,称为export table(以下简称ET),其中包含了DLL中可以被外部程式使用的所有函数和... 阅读全文

posted @ 2009-03-24 10:19 smwikipedia 阅读(550) 评论(0) 推荐(0)

WinFX Architecture for developers
摘要:"WinFS" consists of the following five components: "WinFS" Core, including the relational storage engine Data Model Schemas Services APIs The following figure gives a graphical view of the buil... 阅读全文

posted @ 2009-03-21 20:58 smwikipedia 阅读(191) 评论(0) 推荐(0)

IE8 RTM 和 IE8 RC1 版本比较。
摘要:IE8 RC1: IE8 RTM: 阅读全文

posted @ 2009-03-20 08:19 smwikipedia 阅读(194) 评论(0) 推荐(0)

Tanenbaum-Torvalds Debate: Part II
摘要:http://www.cs.vu.nl/~ast/reliable-os/ Preface Looks like it is microkernel debate time again. Before getting into technical arguments, there are a couple of things I want to say. Many people have said... 阅读全文

posted @ 2009-02-24 13:30 smwikipedia 阅读(396) 评论(0) 推荐(0)

导航