Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Система";
Текущий архив: 2003.01.13;
Скачать: [xml.tar.bz2];

Вниз

Как из под 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 вся ветка

Форум: "Система";
Текущий архив: 2003.01.13;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.52 MB
Время: 0.01 c
1-37142
smok_er
2002-12-28 14:34
2003.01.13
TWebBrowser & GoggleToolbar: Возможно ли?


14-37350
gsu
2002-12-23 16:39
2003.01.13
А я на счетах работать умею, слабо ?


3-36958
Ольга
2002-12-16 17:17
2003.01.13
DbChart


1-37109
FoXx
2003-01-03 20:23
2003.01.13
KeyLoger


7-37403
shef
2002-10-31 17:50
2003.01.13
потоки в делфи





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский