
Windows
文章平均质量分 54
80后程序员一枚
这个作者很懒,什么都没留下…
展开
-
获取命令行程序的输出
原帖地址:http://topic.youkuaiyun.com/u/20090709/15/295b6a69-0901-4b24-811b-034c64aca131.html就是使用管道接收来自命令行输出代码如下: SECURITY_ATTRIBUTES sa; HANDLE hRead,hWrite; sa.nLength = sizeof(SECU转载 2009-07-10 19:52:00 · 997 阅读 · 0 评论 -
Windows系统对POSIX的支持
近日使用ACE开发,需要用到正则表达式,发现ACE下正则表达式需要POSIX接口,故有此文。 简介 POSIX全程Portable Operating System Interface for Unix,是一系列IEEE定义的操作系统规范的统称。POSIX虽然是为Unix而定义的,但是也被很多其他系统所兼容版本POSIX.1即IEEE Std 1003.1-1988原创 2009-10-26 21:40:00 · 7416 阅读 · 0 评论 -
关于host文件
前几天发现公司公用电脑上敲入google网址,打开的是baidu。一开始还没有闹明白,后来发现是host文件被改了。今天想玩玩twitter,发现免翻墙办法里面也有这一个,就记下来,以后可以使用。windows下位于:c:/windows/system32/drivers/etc/hosts host文件是,对于里面有的域名,不需要经过DNS,而是直接使用里面的ip。这么原创 2009-10-27 21:12:00 · 505 阅读 · 0 评论 -
LoadUserProfile Windows
<br />Back ground:<br />We use WMI to do remote install. We create a process to start MSI installation. And it is set to impersonate the user specified.<br />But we get problem when user was log off.<br />We failed to do something to the CURRENT_USER node原创 2011-05-13 13:56:00 · 1788 阅读 · 1 评论 -
WinDBG Introduction
download from MS: http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx Windbg support kernel mode and user mode debug, here is some basic information in user modetipscommand prompt: [system num]:[process num]:[thread num]>some usefull comma原创 2011-04-06 21:57:00 · 401 阅读 · 0 评论 -
stop HyperV VM by WMI in powershell
A script used to stop HyperV VM######stop HyperV VM by name #############Usage: stopvm.ps1 #############please run: "set-executionpolicy RemoteSigned" if you cannot execute this script #######原创 2014-04-25 12:09:51 · 813 阅读 · 0 评论 -
Memory leak in IIS ADSOpenObject()
Memory leak in IIS COM objectWe use IIS COM object to monitor IIS site, but we got huge memory leak.After UMDH, the memory leak is on ADSOpenObject(), an IIS method.And after working wit原创 2014-04-25 12:07:28 · 953 阅读 · 0 评论 -
Use UMDH to identify memory leak problem
We sometimes got memory leak problem, and we need to find the leaked memory, Here is a useful tool from MS, UMDH, it is included in WinDBG install package.Here is a introduction on how to UMDH to identify memory leak problems原创 2014-04-29 07:20:09 · 1248 阅读 · 0 评论