iczelion Vxd tut9 (转)
iczelion Vxd tut9 (转)[@more@] Virtual 8086 Memory Manager In the previous tutorial, you learn how to simulate V86 interrupt. However, there is one problem that hasn't been addressed yet: exchanging data between VxD and V86 code. We will learn how to use the V86 Memory Manager to our advantage in this regard. DOWNLOAD the example. Some Theory If your VxD works with some V86 routines, it will be necessary sooner or later to pass large chunks of data to and from the V86 program. Passi
iczelion Vxd tut8 (转)
iczelion Vxd tut8 (转)[@more@] Client Register StructureWe will examine another important structure in this tutorial, namely the client register structure. DOWNLOAD/new/asm/vxd/files/vxdbeep.zip">Download the example. Some theoryVxDs are very different from normal win32/win16/Dos applications. VxDs are, most of the time, dormant while other normal apps do their businesses. They act like supervisors which look over other ring-3 apps and correct them when they did something wrong. Th
iczelion Vxd tut7 (转)
iczelion Vxd tut7 (转)[@more@] Application Time and shell Functions Some TheoryApplication time is usually called "appy time". It simply means the time when the system VM is stable enough to allow interaction between VxDs and the ring-3 applications, especially 16-bit ones. For example, at appy time, VxDs can load and call functions in 16-bit DLLs. This appy time is not available under windows 3.1x. Under Windows 3.1, a VxD can obtain the address of any function in a 16-bit DLL and sim
iczelion Vxd tut4 (转)
iczelion Vxd tut4 (转)[@more@] VxD Programming: PrimerWe know how to build a VxD which does nothing. In this tutorial, we will make it more productive by adding control message handlers. VxD Initialization and TeRminationThere are two types of VxD: static and dynamic. Each type has different load method. They also receive different initialization and termination control messages. Static VxD:VMM loads a static VxD when: A real-mode resident programs issue int 2Fh, 1605h to load i
iczelion Vxd tut3 (转)
iczelion Vxd tut3 (转)[@more@] Virtual Device driver SkeletonNow that you know something about VMM and VxD, we can learn how to code a VxD. You need windows 95/98 Device Driver Development Kit. It's essential that you have it. Windows 95 DDK is available only to MSDN subscribers. However, windows 98 DDK is available free of charge from microsoft. You can also use Windows 98 DDK to develop VxDs even if it is oriented toward WDM. You can DOWNLOAD Windows 98 DDK from http://www.micro
iczelion Vxd tut2 (转)
iczelion Vxd tut2 (转)[@more@] Virtual Machine ManagerVirtual Machine Manager (VMM) is the true operating system behind windows 95. It erects and maintains the framework for managing virtual machines. It also provides many important services to other VxDs. The three important services are: Memory management Interrupt handling Thread scheduling Memory ManagementVMM uses paging capability of intel 80386 and later processors to create a 32-bit virtual address space for the system
bbs的数据结构和存储过程(三) (转)
bbs的数据结构和存储过程(三) (转)[@more@]/*************************************************************************//* *//* procedure : up_GetPostedTopicList *//* *//* Description: 精华区贴子列表 *//* *//* Parameters: @a_intForumID : 版面id *//* @a_intPageNo: 页号 *//* @a_intPageSize: 每页显示数,以根贴为准 *//* *//* Use table: bbs , forum *//* *//* Author: bigeagle@163.NET *//* *//* Date: 2000/2/14 *//* *//* History: *//* *//*********************************************************************
C#开发WINDOWS应用程序时消息的处理 (转)
C#开发WINDOWS应用程序时消息的处理 (转)[@more@]C#开发windows应用程序时消息的处理C#学习笔记之二作者:浙江省温岭市电信局 王骏 WINDOWS应用程序是靠消息驱动的,在VC中我们通过CLASSWIZARD可以为某窗口类添加消息处理函数,CLASSWIZARD将为你添加消息映射,对于WINDOWS消息,生成的消息处理函数重载了基类的虚拟方法。而在C#中如何处理消息呢?本文针对VS.NET BETA1环境下的C#简单地介绍WINDOWS消息以及自定义消息的处理方法。cshARP/MSGApplication.zip">示例代码下载 17K一、生成一个名为MSGApplication的工程工程的建立方法请参
局域网安全(下) (转)
局域网安全(下) (转)[@more@]广域网安全 由于广域网大多采用公网来进行数据传输,信息在广域网上传输时被截取和利用的可能性就比局域网要大得多。如果没有专用的软件对数据进行控制,只要使用Inte.NET上免费下载的“包检测”工具软件,就可以很容易地对通信数据进行截取和破译。 因此,必须采取手段,使得在广域网上发送和接收信息时能够保证: ①除了发送方和接收方外,其他人是无法知悉的(隐私性); ②传输过程中不被篡改(真实性); ③发送方能确知接收方不是假冒的(非伪装性); ④发送方不能否认自己的发送行为
VB==容错处理策略(全) (转)
VB==容错处理策略(全) (转)[@more@] 本文将详细地讨论在Visual Basic中处理错误发生的On Error命令家族,它们的任务就是安装错误代理并解决错误的发生,并解释错误代码的含义。阅读完本文后,你将能编写基本的错误代理程序,有效地防止以外错误。 作者:甘冀平 2000-11-03 本文包括以下几节内容: 使用On Error语句 如何离开错误处理程序 定义错误常数 将错误处理程序单独存放 理解错误处理的范围 不要嵌套使用错误处理程序 使用On Error语句 Visual Basic程序使用On Error命令来登记错误处理程序
远程控制篇:通过机器名得到IP地址 通过IP地址得到机器名 (转)
远程控制篇:通过机器名得到IP地址 通过IP地址得到机器名 (转)[@more@]远程控制篇: 通过机器名得到IP地址 function procedure TForm1.nametoip(name:string):string;var WSAData: TWSAData; HostEnt: PHostEnt;begin result:=''; WSAStartup(2, WSAData); HostEnt := gethostbyname(PChar(name)); if HostEnt <> nil then begin with HostEnt^ do result:= Format('%d.%d.%d.%d', [Byte(h_addr^[0]), Byte(h_addr^[1]), Byte(h_addr^[2]), Byte(h_addr^[3])]); end
号外:Delphi6 新特性 !!!! (转)
号外:Delphi6 新特性 !!!! (转)[@more@]ideveloper.myrice.com/docs/borland_news/2001/whatsnewinDelphi6.htm">Delphi6 New Features What’s newXML:NAMESPACE PREFIX = O /> Delphi 6 introduces new features and enhancements in the following areas: IDE .NET">Internet VCL RTL Compiler Com/Active X Note Some features may not be available in all versions of Delphi. <It is too long to add here! > CSDN相关链接: ASP?id=
FAT32 文件系统 (转)
FAT32 文件系统 (转)[@more@] 使用 fat32 文件系统 保存文件时,计算机使用文件系统控制硬盘保存文件或文件夹的方式。MS-Dos 和 windows 的老版本使用特有的 FAT16 文件系统。按默认规定,windows 98 使用 FAT16,但是提供使用 FAT32 的选项。FAT32 文件系统是增强的文件系统,可提高磁盘性能并增加可用的磁盘空间。 一. 了解信息的存储方式 保存文件或者安装程序时,计算机将信息存储到硬盘上称为簇的小区域上。簇越小,硬盘存储信息的效率就越高。簇的大小取决于分区的大小,而分区的大小又取决于所使用的文件系统。按
号外:Delphi6新特性! (转)
号外:Delphi6新特性! (转)[@more@]Delphi6 New Features What’s newXML:NAMESPACE PREFIX = O /> Delphi 6 introduces new features and enhancements in the following areas: ide">IDE .NET">Internet VCL RTL Compiler Com/Active X Note Some features may not be available in all versions of Delphi.
Win32全局钩子在VC5中的实现 (转)
Win32全局钩子在VC5中的实现 (转)[@more@]win32全局钩子在VC5中的实现 ·windows系统是建立在事件驱动的机制上的,说穿了就是整个系统都是通过消息的传递来实现的。而钩子是Windows系统中非常重要的系统接口,用它可以截获并处理送给其他应用程序的消息,来完成普通应用程序难以实现的功能。钩子的种类很多,每种钩子可以截获并处理相应的消息,如键盘钩子可以截获键盘消息,外壳钩子可以截取、启动和关闭应用程序的消息等。本文在VC5编程环境下实现了一个简单的鼠标钩子程序,并对Win32全局钩子的运行机制、Win32 DLL的特点、VC5环
VC在windows下编写用于串行通讯的程序 (转)
VC在windows下编写用于串行通讯的程序 (转)[@more@]VC在win95下编写用于串行通讯的程序既然有这么多人问这个文体,贝贝就给个Visual C++ 4.2写的 Window 95串口通讯函数集合(只适用于32位) 需要说明的是:这是我程序的一部分,因此有一些与具体应用无关的部分。 但我觉得关键是原理,而不是程序本身.后面有些使用介绍,帮助理解这长的程序。 头文件(.H) #include "StdAfx.h" #define GWL_PGPSINFO 0 #define GPSEXTRABYTES sizeof( LONG ) #define MAXPORTS 4 #define CN_SEND WM_USER+100 #define RXQUEUE 4096 #define TXQUEUE 4096 //
项目管理工具 (转)
项目管理工具 (转)[@more@] 项目管理工具 当我们设计一个工程的时候,我们不单单考虑程序是怎末实现的,而且要做到如何把用户的不断变化的需求与要实现的管理系统结合起来。 当项目进行需求分析的时候,用户也只能提出当前的系统的功能,至于以后会不会发生需求的改变,他也说不出来,只能说将来可能会变,再加上一个大的MIS 管理系统开发周期比较长,可能一至两年,开发期间需求的不断变化,着就给项目的开发造成很大的困难,我们要找出一种工具来解决这种困难,所以就出现了如Rose ,playcase ,xp等系统分析开发工
个体软件过程(Personal Software Process,PSP(续2) (转)
个体软件过程(Personal Software Process,PSP(续2) (转)[@more@]编码标准-(PSP0) 一般来讲软件工程师来自不同的背景和拥有不同的软件开发风格,约束他们的设计方法,采用由组织规定的设计方法学和编码标准已被建议。 这一过程在后CASE系统实现的形式是,对设计过程、开发过程和设计语言结构进行约束。例如,在C语言的IF-THEN-ELSE语句中使用SWITCH语句不被认为是专业编程,这种方式在后CASE时代被丢弃。同样地,后CASE工具也对软件工程师设计的模块强行约束。一般地,统一的编码标准能够通过后CASE系统
个体软件过程(Personal Software Process,PSP(续1) (转)
个体软件过程(Personal Software Process,PSP(续1) (转)[@more@]软件工程师目前使用的方法-PSP0 这一过程建立了包括测量和报告格式的基线,对测量进展和详细说明的基础提供了一致的根据。这一步骤记录了软件工程师在工程中使用的具有代表性的软件开发方法和在当前工程中使用的方法。 这一级别简单地接受软件工程师所使用的独特的方法列表。这些方法应该用对测量有意义的方式表现。例如,方法可以存放在关系数据库中,增加额外的字段标示花了软件工程师多少时间来编制标准算法,也可有一字段说明软件工程师使用这些方法
WebClass实现动态WEB编程之实践篇 (转)
WebClass实现动态WEB编程之实践篇 (转)[@more@]webClass实现动态WEB编程之实践篇(作者:苏红超 2001年01月10日 15:50) 说了这么多的有关WebClass理论方面的东西,想必大家也一定想要亲自试一试究竟WebClass是怎么样一回事情了,那我们就先来看一个小的例子,也慢慢消化一下我们上面讲解到的各种理论知识: 启动vb6集成环境之后,新建一个“IIS应用程序”的项目。这样缺省的情况下就会创建一个名称是Project1的工程以及一个叫做WebClass1的缺省的WebClass对象。WebClass的开发环境有两部分组成:WebClass设计器和代码窗口。其中的