GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 28-Mar-2006, 14:03
Electrical Electrical is offline
New Member
 
Join Date: Mar 2006
Posts: 1
Electrical is on a distinguished road
Cool

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  
Old 28-Mar-2006, 14:42
davis
 
Posts: n/a

Re: Hardware Interrupt and Timer Interrupt in C++


Buy a third-party parallel port driver/SDK or write your own and enjoy!


:davis:
 
 

Recent GIDBlogProblems with the Navy (Officers) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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

All times are GMT -6. The time now is 15:58.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.