CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - exception
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - exception - List
[
Hook api
]
MouseHook_dc9cn
DL : 0
一直在用VC++做项目,乐趣无穷,但一直没有什么可以发出来的东西,很多东西拿出来怕被行家笑话,其实这个也不例外-VC has been a project of fun, but nothing has been issued to the things show a lot of things to be afraid of being able joke, in fact this is no exception
Date
: 2008-10-13
Size
: 11.19kb
User
:
赵志强
[
Hook api
]
BossHook
DL : 0
在.Net2.0环境上开发WinForm程序,当在多线程中修改界面控件的状态,会抛出一个异常:Cross-thread operation not valid:Control textBox1 accessed from a thread other than the thread it was created on .后查询知道这是因为.net 2.0以后加强了安全机制,不允许在winform中直接跨线程访问控件的属性。到网上Google下,找到的解决方案有三种,现将这三种解决方案整理如下: -In. Net2.0 environment WinForm development process, when in multi-threaded interface to modify the status of the control will throw an exception: Cross-thread operation not valid: Control ' textBox1' accessed from a thread other than the thread it was created on. After the query know that this is because. net 2.0 after the strengthening of the security mechanism does not allow cross-thread winform directly control the properties of the visit. Online at Google to find a solution there are three, now finishing the three solutions as follows:
Date
: 2026-01-03
Size
: 1.2mb
User
:
boshen
[
Hook api
]
Injector-20090421b
DL : 0
Code is written in C++ with full exception handling (none of this annoying C-based return value checking crap). Only tested on MSVC++. Visual Studio 2008 project files supplied. Note: The AMD64 version can only inject into AMD64 processes, and the IA-32 version can only inject into IA-32 processes. It is possible to inject into IA-32 from AMD64 but I didn t bother because I needed an IA-32 version anyway and the code is much cleaner if I don t have to support that.
Date
: 2026-01-03
Size
: 11kb
User
:
sogetthis
[
Hook api
]
IDT-Hook-
DL : 0
IDT是一个有256个入口的线形表,每个IDT的入口是个8字节的描述符,所以整个IDT表的大小为256*8=2048 bytes,每个中断向量关联了一个中断 处理过程。所谓的中断向量就是把每个中断或者异常用一个0-255的数字识别-IDT is a linear table 256 entry, each IDT entry is 8-byte descriptors, so the size of the IDT table 256* 8 = 2048 bytes, each interrupt vector associated with an interrupt handler. The so-called interrupt vector for each interrupt or exception is to use a 0-255 number recognition
Date
: 2026-01-03
Size
: 110kb
User
:
wu
[
Hook api
]
SYSENTER-hook
DL : 0
SYSENETER是一条汇编指令,它是在Pentium® II 处理器及以上处理器中提供的,是快速系统调用的一部分。SYSENTER/SYSEXIT这对指令专门 用于实现快速调用。在这之前是采用INT 0x2E来实现的。INT 0x2E在系统调用的时候,需要进行栈切换的工作。由于Interrupt/Exception Handler的 调用都是通过 call/trap/task这一类的gate来实现的,这种方式会进行栈切换,并且系统栈的地址等信息由TSS提供。这种方式可能会引起多次内存访 问(来获取这些切换信息),因此,从PentiumII开始,IA-32引入了新指令:SYSENTER/SYSEXIT。有了这两条指令, 从用户级到特权级的堆栈以及指令指针的转换,可以通过这一条指令来实现,并且,需要切换到的新堆栈的地址,以及相应过程的第一条指令的位 置,都有一组特殊寄存器来实现,这类特殊寄存器在IA-32中称为MSR(Model Specific Register)。这里牵涉到3个特殊寄存器-SYSENETER is a compilation of instructions, it is in the Pentium ® II processor or above processor provided as part of a fast system calls. SYSENTER/SYSEXIT This specialized instruction For fast calls. Before this is achieved using INT 0x2E. INT 0x2E in the system call when the work required to switch the stack. The Interrupt/Exception Handler s Calls through call/trap/task to implement this type of gate, and in this way would be to switch the stack and system stack address and other information provided by the TSS. This approach may lead to memory access times Q (to obtain the switching information), therefore, start from the PentiumII, IA-32 introduces a new command: SYSENTER/SYSEXIT. With these two instructions, From the user level to privilege level of the stack and instruction pointer conversion, achieved through the instructions, and the need to switch to the new stack address, and the corresponding bits in the first instruction of the process Home, there is a spec
Date
: 2026-01-03
Size
: 30kb
User
:
wu
[
Hook api
]
SEHHook
DL : 0
高级windows-SEH线程异常钩子源码-High windows-SEH exception thread hook source
Date
: 2026-01-03
Size
: 1.39mb
User
:
会少年
[
Hook api
]
neicunguanliqudongneiheAPI
DL : 0
返回状态值 检查内存的可用性 异常处理try-except 异常处理try-finally 断言 -Return a status value 检查内存的可用性 Check the availability of memory 异常处理try-except Try-except exception handling 异常处理try-finally Try-finally exception handling 断言 Assertion
Date
: 2026-01-03
Size
: 11kb
User
:
蔡中伟
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.