Вниз
Скачать: CL | DM;

Как из под WIndows 9x/NT ловить прерывания?   Найти похожие ветки 

← →
Eliseev Andrey   (2002-10-25 16:10) [40]

Есть такая библиотека TetaPCHW ( http://www.geocities.com/tetasoft/).

Там есть все функции для работы с LPT включая установку IRQ.
Вот цитата из ReadMe.

procedure LPTEnableIRQ(IRQEnabled: Boolean);
--------------------------------------------
Forces an LPT device to generate interruptions when ACK line(Pin 10) has a HIGH
electrical level.

type
TInterruptHandler = procedure (IrqNumber : WORD) of object;
property OnHwInterrupt: TInterruptHandler;
------------------------------------------
This is an event property which allows you to install your own application
handler for all IRQs. Note, due to Windows is not a verily multi-task system of
real time the time of delivery a message about an IRQ generated up to your
application interrupt handler is not assured.


← →
jonik pegas ©   (2002-10-25 16:13) [41]

Дополнение
Точнее наверняка можно это делать и на WinApi через DeviceIOControl но пока неясно как


← →
Eliseev Andrey   (2002-10-25 16:16) [42]

Есть такая библиотека TetaPCHW ( http://www.geocities.com/tetasoft/).

Там есть все функции для работы с LPT включая установку IRQ.
Вот цитата из ReadMe.

procedure LPTEnableIRQ(IRQEnabled: Boolean);
--------------------------------------------
Forces an LPT device to generate interruptions when ACK line(Pin 10) has a HIGH
electrical level.

type
TInterruptHandler = procedure (IrqNumber : WORD) of object;
property OnHwInterrupt: TInterruptHandler;
------------------------------------------
This is an event property which allows you to install your own application
handler for all IRQs. Note, due to Windows is not a verily multi-task system of
real time the time of delivery a message about an IRQ generated up to your
application interrupt handler is not assured.


← →
Digitman ©   (2002-10-25 16:22) [43]

>jonik pegas
>>В Microsoft не учли ...

Да вот как раз и учли) ... Иначе - кому эта P&P нужна, спрашивается)...


← →
Пятачок   (2002-11-04 06:40) [44]

Ой мамочка!!!....



Страницы: 1 2 вся ветка

Скачать: CL | DM;



Память: 0.52 MB
Время: 0.013 c
1-37006
ivlex
2003-01-01 04:06
2003.01.13
О блокировке заставки


4-37433
Cosmic
2002-11-24 15:29
2003.01.13
Длина текста в Edit


3-36986
Oxy
2002-12-18 13:25
2003.01.13
Проблема с TField.SetData


3-36989
Fishka
2002-12-18 16:11
2003.01.13
Заполнение Мемо-поля через DBMemo


6-37255
Борис
2002-11-13 12:48
2003.01.13
Не могу получить список всех компьютеров сети!




   Наверх