上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 76 下一页
摘要: InterlockedCompareExchange属于互锁函数 类似的还有下面的几个 (1) LONG InterlockedExchangeAdd ( LPLONG Addend, LONG Increment ); Addend为长整型变量的地址,Increment为想要在Addend指向的长整型变量上增加的数值(可以是负数)。这个函数的主要作用是保证这个加操作为一个原子访问。 ... 阅读全文
posted @ 2009-04-22 14:43 ahuo 阅读(3668) 评论(0) 推荐(0) 编辑
摘要: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Debug Print Filter]"DEFAULT"=dword:00000008 阅读全文
posted @ 2009-04-21 12:07 ahuo 阅读(429) 评论(1) 推荐(0) 编辑
摘要: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug]"Debugger"="C:\\Program Files\\Microsoft Visual Studio\\Common\\MSDev98\\Bin\\MSDEV.EXE -p %ld -e %ld""UserDebuggerHotKey"=dwor... 阅读全文
posted @ 2009-04-21 12:06 ahuo 阅读(1017) 评论(0) 推荐(0) 编辑
摘要: 下增加 2009/4/14 14:14:22 4/14/2009 14:14:22 CULTURE SPECIFIC CULTUREar Arabic ar-SAar-SA Arabic (S... 阅读全文
posted @ 2009-04-14 14:27 ahuo 阅读(586) 评论(0) 推荐(0) 编辑
摘要: Constant Name Number Description adErrBoundToCommand 3707 The application cannot change the ActiveConnection property of a Recordset object with a Command object as its source. adErrCannot... 阅读全文
posted @ 2009-04-07 17:28 ahuo 阅读(1629) 评论(2) 推荐(0) 编辑
摘要: Access-enable允许路由器在动态访问列表中创建临时访问列表入口 Access-group把访问控制列表(ACL)应用到接口上 Access-list定义一个标准的IP ACL Access-template在连接的路由器上手动替换临时访问列表入口 Appn向APPN子系统发送命令 Atmsig 执行ATM信令命令 B 手动引导操作系统 Bandwidth 设置接口的带宽 Banner m... 阅读全文
posted @ 2009-04-01 09:38 ahuo 阅读(1507) 评论(1) 推荐(0) 编辑
摘要: 一.多线程的概念 Windows是一个多任务的系统,如果你使用的是windows 2000及其以上版本,你可以通过任务管理器查看当前系统运行的程序和进程。什么是进程呢?当一个程序开始运行时,它就是一个进程,进程所指包括运行中的程序和程序所使用到的内存和系统资源。而一个进程又是由多个线程所组成的,线程是程序中的一个执行流,每个线程都有自己的专有寄存器(栈指针、程序计数器等),但代码区是共... 阅读全文
posted @ 2009-03-30 11:04 ahuo 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 用法:CScript scriptname.extension [option...] [arguments...] 选项: //B 批模式:不显示脚本错误及提示信息 //D 启用 Active Debugging //E:engine 使用执行脚本的引擎 Code highlighting produced by Actipro CodeHighlight... 阅读全文
posted @ 2009-03-24 14:16 ahuo 阅读(1377) 评论(0) 推荐(0) 编辑
摘要: IIS Scripting API Metabase Concepts The following table describes concepts that help to understand the structure of the metabase. Term Description ... 阅读全文
posted @ 2009-03-24 13:41 ahuo 阅读(551) 评论(0) 推荐(1) 编辑
摘要: Process Proc = new Process(); ProcessStartInfo ProcStartInfo = new ProcessStartInfo(textBox_Command.Text); ProcStartInfo.UseShellExecute = true; ... 阅读全文
posted @ 2009-03-22 22:14 ahuo 阅读(620) 评论(0) 推荐(0) 编辑
摘要: ClearDirectory(const char* szPath) { if( szPath == NULL ) return; string strPath = szPath; if( strPath.at(strPath.length()-1) != '\\' ) strPath.append("\\"); string strSearch = strPath+"*";... 阅读全文
posted @ 2009-03-12 11:37 ahuo 阅读(428) 评论(0) 推荐(0) 编辑
摘要: BOOL GetCurrentUserSid(std::string& strSID) { CCommonFunc func; DWORD dwProcessID = func.GetProcessIDFromName("explorer.exe"); if( 0 == dwProcessID ) { return FALSE; } #ifndef _RELEASE_WIN9X ... 阅读全文
posted @ 2009-03-12 11:35 ahuo 阅读(464) 评论(0) 推荐(0) 编辑
摘要: PostThreadMessage的原型是这样的 BOOL PostThreadMessage( DWORD idThread, UINT Msg, WPARAM wParam, LPARAM lParam ); PostThreadMessage可以用于线程之间的异步通讯,因为它不用等待调用者返回, 这也许是线程通讯中最简单的一种方法了。 但是要注意以下问题 1 .... 阅读全文
posted @ 2009-03-12 11:21 ahuo 阅读(996) 评论(0) 推荐(0) 编辑
摘要: vista与2008的大小版本都是一样的6.0,要区分就要通过wProductType来识别! if( VerInfoEx.dwMajorVersion == 6 ) { if (VerInfoEx.wProductType == VER_NT_SERVER || VerInfoEx.wProductType == VER_NT_DOMAIN_CONTROLLER) retur... 阅读全文
posted @ 2009-03-09 10:41 ahuo 阅读(480) 评论(0) 推荐(0) 编辑
摘要: 使用 Gflags.exe 实用工具 选择 启用池标记 。 单击 应用 ,然后单击 确定 。 使用 Poolmon 收集信息 PoolMon 显示命令窗口中的池标记信息。 使用箭头键或 Page Up 和 Page Down 键显示由该工具返回所有标记信息。 poolmon [itag] [xtag] [switch] 参数及说明: itag :仅列出与内存池匹配的标记名字,标记... 阅读全文
posted @ 2009-03-02 22:59 ahuo 阅读(1933) 评论(1) 推荐(0) 编辑
上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 76 下一页