![]() |
|
#1
|
|||
|
|||
Hardware Interrupt and Timer Interrupt in C++Dear all,
I'm going in a project in which I'll need to interface with an external H/W device. I need to get interrupt from this external H/W through the parallel port(i.e. IRQ7), I have accomplished this job before using Assembly but now I need to make it on Visual C++ 6. I have found many code samples on the web but they only work on Borland compiler!!! How to make this on Visual Studio enviroment. I also need to make a specific job periodically and that requires to make a Timer interrupt, the timer should be running in the background not the main process, how could I make this also? I need to know the headers to include and function names and any reference to read about this part. I'm using WinXP but if there is a solution on Win98 I can transfer to it. Al ast thing, I needed to use the parallel port for interfacing this external H/W so I'm using _outp(add,data) but this doesn't work on WinXP because of the protection set on these ports, how to avoid this? Thanks in advance Eng. Tamer Darweesh |
|||
|
#2
|
|||
|
|||
Re: Hardware Interrupt and Timer Interrupt in C++Buy a third-party parallel port driver/SDK or write your own and enjoy!
:davis: |
Recent GIDBlog
Problems with the Navy (Officers) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to create a timer in c++ | Radi0ShacK | C++ Forum | 14 | 22-Feb-2006 19:21 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The