用Win编写事件 [英] Event writing in Win

查看:80
本文介绍了用Win编写事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Win xp环境中的程序中编写一个事件,该事件在脉冲发送到copmuter的特殊端口时触发.
但是在类模块中以可视化编程编写的事件应在其他组件的标准事件内引发,并且
不要独立工作.
在DOS环境中,它可以使用中断和编程中断来编写代码,但是在Win XP中,我想知道该怎么做?
因此,如果您向我建议此问题,我将不胜感激.

I want to write a event at a program in Win xp environment that is triggered when a pulse send to a special port of copmuter.
but events that write at visual programing in class modules should be raised inside a standard event of other component and
don''t work independently.
in DOS environment it can write with interrupts and programing interrupts but in win xp i want to know how can I do that?
so I would appreciate it if you advise me about this problem.

推荐答案

写道:​​

在DOS环境中,它可以编写中断并编写中断,但是在Win XP中,我想知道该怎么做?

in DOS environment it can write with interrupts and programing interrupts but in win xp i want to know how can I do that?



我认为您不能在Windows XP及更高版本中执行此操作,因为它可能会损害操作系统并因此损害其他应用程序.但是,我认为有一种功能可以挂接到设备驱动程序堆栈并以相当低的级别捕获信息.我认为此网站 [ ^ ]提供了一些有用的信息.

[edit]糟糕,原始链接是错误的OSR [/edit]



I don''t think you are allowed to do this in Windows XP and beyond, as it has the potential to compromise the OS and hence other applications. However I think there is a facility for hooking into the device driver stack and capturing information at a fairly low level. I think that this site[^] has some useful information.

[edit]oops, original link was the wrong OSR[/edit]


这篇关于用Win编写事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆