Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - MSDN
Search - MSDN - List
DL : 0
我的笔记本电脑装的windows2000。但是不知道为什么没有待机功能,所以我只好自己动手编了个程序,一点就休眠了。其实就是用了一条API指令,不过这条指令可是MSDN未公开的哦-my laptop loaded the windows2000. But I do not know why no standby function, so I had to make their own Bianlegan procedures 1:00 on the dormancy. Is using an API of instruction, but this instruction has not been made public but the MSDN oh.
Date : 2008-10-13 Size : 1.71kb User : 啊啊

微软API截获库,该代码也包含在MSDN的例子中。-intercepted the Microsoft API, the code also included in the MSDN examples.
Date : 2008-10-13 Size : 595.36kb User : fishxz

Vista的验证提供器代码。MSDN代码,高质量。演示了智能卡登陆Vista。 This sample implements a simple credential provider. A credential provider allows a 3rd party to provide an alternate way of logging on-Vista test code is provided. MSDN code quality. Demonstration of the smart card landing Vista. This sample implements a simple credential pro vider. A credential provider allows a 3rd party to provide an alternate way of logging on
Date : 2008-10-13 Size : 96.11kb User : zy26

结构体对齐的算法 < 常用算法与数据结构 > 由于需要做一个自动配置平台的东西,涉及到结构解析的问题。因为结构体在编译时会自动对齐边界,如果没有一个准确的算法,是不可能得到每一个成员变量的正确偏移量的。为了解决这个问题我在网上查了一圈资料,看了MSDN上的相关介绍,但始终没有找到一个直接的算法,无奈之下只好自己亲自动手,一点一点摸索其中的实现规则。经过一天的实验之后,终于找到了这个算法。为了让以后有需要解决同样问题的朋友们能有个参考,特将此算法提供给vckbase。也谨此感谢vckbase上那些给我提供过帮助的朋友们。 源代码包括两部分,一部分是正式的调用函数,一部分是调用demo程序,全部包含在AlignOffSet.cpp文件中。该文件已经在VC++6.0上通过编译,并运行成功。
Date : 2008-10-13 Size : 2.14kb User : 孙玉

使用 LIBCTINY.LIB 为 EXE 和 DLL 文件 减肥 原著:Matt Pietrek 翻译:crazyd 原文出处:MSDN Magazine January 2001 Reduce EXE and DLL Size with LIBCTINY.LIB 原代码下载:Hood0101.exe (45KB)   在 October 1996 column 我讨论过一个有关可执行文件大小的问题。那个时候,一个简单的 hello world 程序大约有32KB。在 Visual C++? 编译器更新了两个版本后,文件尺寸问题稍微得到了改善,同样的程序使用 Visual C++? 6.0 编译器现在只有28KB。在那时的专栏里,我使用了一个小的运行库来创建极小的可执行程序。虽然有不少局限,但是对决大多数的程序来说,它们运转得很好。这些局限已经存在相当长的一段时间了,我决心修正它们。同时也提供一个学习如何进一步减少程序的尺寸的鲜为人知的知识。 DLL 和 EXE 的尺寸   在替换运行库之前,我们得先花点时间看看为什么EXE和DLL的大小比你想象的要大。考虑下面标准的 Hello World 程序:
Date : 2008-10-13 Size : 19.22kb User : 所困大

DL : 0
我的笔记本电脑装的windows2000。但是不知道为什么没有待机功能,所以我只好自己动手编了个程序,一点就休眠了。其实就是用了一条API指令,不过这条指令可是MSDN未公开的哦-my laptop loaded the windows2000. But I do not know why no standby function, so I had to make their own Bianlegan procedures 1:00 on the dormancy. Is using an API of instruction, but this instruction has not been made public but the MSDN oh.
Date : 2025-12-24 Size : 1kb User : 啊啊

微软API截获库,该代码也包含在MSDN的例子中。-intercepted the Microsoft API, the code also included in the MSDN examples.
Date : 2025-12-24 Size : 595kb User : fishxz

Vista的验证提供器代码。MSDN代码,高质量。演示了智能卡登陆Vista。 This sample implements a simple credential provider. A credential provider allows a 3rd party to provide an alternate way of logging on-Vista test code is provided. MSDN code quality. Demonstration of the smart card landing Vista. This sample implements a simple credential pro vider. A credential provider allows a 3rd party to provide an alternate way of logging on
Date : 2025-12-24 Size : 96kb User : zy26

结构体对齐的算法 < 常用算法与数据结构 > 由于需要做一个自动配置平台的东西,涉及到结构解析的问题。因为结构体在编译时会自动对齐边界,如果没有一个准确的算法,是不可能得到每一个成员变量的正确偏移量的。为了解决这个问题我在网上查了一圈资料,看了MSDN上的相关介绍,但始终没有找到一个直接的算法,无奈之下只好自己亲自动手,一点一点摸索其中的实现规则。经过一天的实验之后,终于找到了这个算法。为了让以后有需要解决同样问题的朋友们能有个参考,特将此算法提供给vckbase。也谨此感谢vckbase上那些给我提供过帮助的朋友们。 源代码包括两部分,一部分是正式的调用函数,一部分是调用demo程序,全部包含在AlignOffSet.cpp文件中。该文件已经在VC++6.0上通过编译,并运行成功。
Date : 2025-12-24 Size : 2kb User : 孙玉

使用 LIBCTINY.LIB 为 EXE 和 DLL 文件 减肥 原著:Matt Pietrek 翻译:crazyd 原文出处:MSDN Magazine January 2001 Reduce EXE and DLL Size with LIBCTINY.LIB 原代码下载:Hood0101.exe (45KB)   在 October 1996 column 我讨论过一个有关可执行文件大小的问题。那个时候,一个简单的 hello world 程序大约有32KB。在 Visual C++? 编译器更新了两个版本后,文件尺寸问题稍微得到了改善,同样的程序使用 Visual C++? 6.0 编译器现在只有28KB。在那时的专栏里,我使用了一个小的运行库来创建极小的可执行程序。虽然有不少局限,但是对决大多数的程序来说,它们运转得很好。这些局限已经存在相当长的一段时间了,我决心修正它们。同时也提供一个学习如何进一步减少程序的尺寸的鲜为人知的知识。 DLL 和 EXE 的尺寸   在替换运行库之前,我们得先花点时间看看为什么EXE和DLL的大小比你想象的要大。考虑下面标准的 Hello World 程序: -err
Date : 2025-12-24 Size : 19kb User : 所困大

因为自己是编程初学者,所以在学习编程的过程中经常要查MSDN. 如果是在VC的环境下,非常方面,只用按F1就能启动.但是,如果没有 启动VC呢,要查看MSDN 就必须用鼠标 ,在桌面上找快捷方式.然后 双击运行......对于不太喜欢用鼠标(因为觉得鼠标动作太慢),也 太喜欢在桌面上留太多快捷方式的我,如果时间长了,这似乎是一件 难以接受的事情..... -Programming because they are beginners, so at studying the process of programming often have to search MSDN. If you are in the VC environment, very concerned, can be used only by F1 start. However, if the VC did not start it, it is necessary to view MSDN we must use the mouse to find on the desktop shortcut. ...... then double-click to run for the less like to use the mouse (because we feel that the mouse moves too slow), likes too much to stay on the desktop shortcut me, if a long time, and this seems to be a difficult thing to accept .....
Date : 2025-12-24 Size : 85kb User : woody

来自msdn并稍微修改的一个例子,查看任务管理器列表,并删除对应的进程-Msdn and slightly modified from an example, view a list of Task Manager and delete the corresponding process
Date : 2025-12-24 Size : 1.69mb User : 无形

vc6.0 程序 展示了如何用WMI的方法获取CUP的使用率 重点在于获取多个CPU或者多核不同的使用率,在现在CPU多核时代这点很重要-Ever since I saw Performance application on Windows 2000, I wondered if there is a way/Windows API to programmatically determine CPU usage for each of the individual CPUs in a multi-processor machine. Though there are many articles for getting the CPU usage, none helped when it came to multi-processor machines. After some digging in MSDN, I could find WMI (Windows Management and Instrumentation) has a few performance counter classes. I chose to use the Win32_PerfRawData_PerfOS_Processor class in this case as it is supported on Windows 2000 onwards.
Date : 2025-12-24 Size : 62kb User : 雪山

封装系统API,实现Ras拨号和连接功能.- The icons included with this project are copyright Yusuke Kamiyamane. For information regarding licensing please visit: http://www.pinvoke.com/license/. These icons are also licensed under the Creative Commons Attribution 3.0 license. For more information on this license, please visit: http://creativecommons.org/licenses/by/3.0/. Third party software used by this project: TypeMock: http://www.typemock.com StyleCop: http://code.msdn.microsoft.com/sourceanalysis If you wish to compile the solution, you will need StyleCop. TypeMock will only be required to compile and perform unit tests with the DotRas.Tests project.
Date : 2025-12-24 Size : 596kb User : Bluefire

初学IOCP(windows完成端口)编程时,遇到很多问题和挫折,也在网上找过很多他人的代码,但是这些代码要么不稳定,要么难以使用,所以决定自己动手。在N次查阅MSDN有关章节,几度大改源代码,以及无数次的调试之后,终于有了目前这个比较稳定高效的的IOCP代码,我将其封装成了Delphi控件,所以也是比较方便使用的。现在我将这些代码全部毫无保留的贴出来,希望能够对某些正在0学习IOCP编程的朋友有所帮助。我的代码很少注释,但是风格自认为比较好,读起来应该不会费力。 -Beginners IOCP (windows complete the port) programming encountered many problems and setbacks, but also many other people online to find the code, but these codes are either unstable or difficult to use, so I decided to do it myself. Search MSDN N times in the relevant sections, with several major changes in the source code, as well as numerous debugging, finally with the current stable and efficient in the IOCP code, I will become a Delphi control of their package, so is relatively easy to use . Now all the code I posted without reservation, hoping to learn some are 0 friends IOCP programming help. My code is very little comment, but style themselves as better, should not be read effortlessly.
Date : 2025-12-24 Size : 531kb User : hare4318

MSDN VC6 NT服务程序样例精心改进。-MSDN VC6 NT service program to improve the sample well.
Date : 2025-12-24 Size : 38kb User : dujing

根据MSDN上 Windows NT 服务程序样例优化后,轻松实现带MFC对话框的系统服务程序框架。-According to MSDN sample on a Windows NT service program optimized, easy implementation of system services with MFC dialog program framework.
Date : 2025-12-24 Size : 16kb User : dujing

only for win8,时间选择器,包括时间和日期。-a sample only for win8. we can use it for picking time and date. codes from MSDN.
Date : 2025-12-24 Size : 246kb User : david pai

MFC应用程序中指针的使用,VC中编程对于刚刚开始学习的同学,最大的障碍和问题就是消息机制和指针获取与操作。其实这些内容基本上是每本VC学习工具书上必讲的内容,而且通过MSDN很多问题都能解决。-MFC application, the use of pointers, VC programming for students just beginning to learn, the biggest obstacles and problems the message mechanism and pointer access and operation. In fact, these are basically each VC learning will speak on the books, and through MSDN a lot of problems can be solved.
Date : 2025-12-24 Size : 22kb User : liijian

通过windows的内核对象JobObject实现对程序的运行时间和内存使用的控制,开发初衷是作为一个简陋的acm判题沙箱. 大致步骤: 1.通过CreateJobObject创建一个工作对象 2.通过SetInformationJobObject设置工作对象的参数,详见MSDN(http://msdn.microsoft.com/zh-cn/library/ms686216) 3.以CREATE_SUSPENDED方式启动进程,通过CreateProcessAsUser或者CreateProcess函数,可能还有其他函数,未做研究. 4.通过AssignProcessToJobObject将工作对象应用到指定进程中. 5.通过ResumeThread恢复已暂停的进程. 6.通过WaitForSingleObject等待正在运行的工作对象,设置好允许使用时间. 7.通过QueryInformationJobObject获取工作对象的最终状态.运行程序的退出状态可以通过GetExitCodeProcess获取. 8.扫尾工作(必须使用TerminateJobObject结束当前的工作对象,因为工作对象即便设置了PerProcessUserTimeLimit也无法使程序在超时后退出,没有研究原因). 编译时请包含Kernel32.lib.-By the windows kernel objects JobObject control program run time and memory usage, originally developed as a rudimentary the acm sentenced Title sandbox. Roughly steps: 1. Through CreateJobObject create a work object 2. Through SetInformationJobObject set object parameters, see the MSDN (http://msdn.microsoft.com/zh-cn/library/ms686216) start the process to CREATE_SUSPENDED way through CreateProcessAsUser or CreateProcess function, may have other functions, without making research. by AssignProcessToJobObject work object applied to the specified process. 5. through ResumeThread recovery process has been suspended. 6. WaitForSingleObject to wait for running work object, set up to allow the use of time. through QueryInformationJobObject get the final state of the work objects run the program exit the state by GetExitCodeProcess get off the work (must use TerminateJobObject the end of the current work object, because the work object even set PerProcessUserTimeLimit can not make the prog
Date : 2025-12-24 Size : 1kb User :
« 12 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.