-
理解 Win32 "OutputDebugString" - [Windows]
2008年07月11日
坚定的 Win32 开发人员可能对 OutputDebugString() API 函数比较熟悉,它可以使你的程序和调试器进行交谈。它要比创建日志文件容易,而且所有“真正的”调试器都能使用它。应用程序和调试器交谈的机制相当简单,而本文将揭示整件事情是如何工作的。本文首先是由以下事件促使的,我们观察到 OutputDebugString() 在管理员和非管理员用户试图一起工作或游戏时并不总是能可靠地工作(至少在 Win2000 上)。我们怀疑是一些相关的内核对象的权限问题,此间... -
runas admin and shield (vista uac) - [Windows]
2008年07月04日
Introduction
User Account Control or UAC for short. You've seen the screenshots and maybe even tried it in action. The screen turns dark and you can only interact with a single dialog: it asks for your administrative consent to perform some sort o... -
作者:Kenny Kerr
翻译:Dflying Chen
原文:http://weblogs.asp.net/kennykerr/archive/2006/09/29/Windows-Vista-for-Developers-_1320_-Part-4-_1320_-User-Account-Control.aspx
请同时参考《Windows Vista for Developers》系列。
... -
WiX and System Folders 系统目录 - [Windows]
2008年05月27日
If you've looked at the WiX sample, you've no doubt seen a directory entry that look a lot like the following:
<Directory Id='ProgramFilesFolder' Name='PFiles'> If you're wondering where ProgramFilesFolder comes from or if you'v... -
这种实现方法——尤其是用 .def 设置导出函数——简单,通用,易移植
-
Windows Error Code 大全 (word文档)
2008年05月20日
Windows Error Code 大全 (word文档) -
在VC++6.0中用MFC进行COM编程 - [Windows]
2008年04月15日
又一个COM编程实例。这篇文章的结构性比较好。 -
COM编程入门(二)——自己写COM - [Windows]
2008年04月15日
自己写COM -
COM编程入门(一)——使用COM - [Windows]
2008年04月15日
使用COM -
如何让应用程序和驱动程序通讯 - [Windows]
2008年04月08日
使用 IO Control 让应用程序和驱动程序通讯 -
如何让驱动程序在TraceView中输出 log 信息 - [Windows]
2008年04月07日
如何让驱动程序在TraceView中输出 log 信息?
Windows提供跟踪机制,使驱动程序可以在运行时在 TraceView 中输出 log 信息,就像 printf 在 CMD 窗口中输出一样。
-
在DLL中显示dialog - [Windows]
2008年03月17日
1. 创建一个对话框资源。然后想要什么样的对话框就靠你自己啦
2. 在新类的头文件里加入“#include "resource.h" // main symbols” ,不然编译时报错,找不到对话框中定义的资源的ID。 这似乎是一个bug(不知道在其他机器上是否有同样现象)
3. 写一个DLL的导出函数 如showDlg
extern "C" void __stdcall showDlg();
extern "C" void __stdcall showDlg()
{
AFX_MANAGE_STATE(AfxGetStaticModuleState());
CTest mainFrame;
mainFrame.DoModal();
}4. OK,任何时候调用showDlg()都可以弹出你刚才画的那个对话框了。
5. AFX_MANAGE_STATE(AfxGetStaticModuleState()); 最好在每一个导出函数里运行。
-
解析#pragma指令 - [Windows]
2008年01月11日
解析#pragma指令 -
windows驱动学习之hello world - [Windows]
2007年11月24日
从今天开始本人要记录下学习驱动的过程。主要目的是给自己以后提供复习的资料。
学习驱动的目的原因很多:一是没有办法,人家让学你就得学,不学就没有工作了,所以硬着头皮也要学。在此基础上给自己一个合理的安慰,那就是学习驱动的人不多,听说学好了也能赚很多钱,所以也给自己学习的动力。
开始了。。。。。。。。。。。。
1。到网上查查人家是怎么学的,是怎么写的。找到应该看得书籍记录如下:
《C程序设计》(第二版) ...
共1页 1



