Solved

Direct port I/O under NT and w2000

Posted on 2001-08-28
7
151 Views
Last Modified: 2008-03-06
Hi, Many of the applications that I develop involve reading and writing directly to I/O port. (Usually the parallel port or an I/O card). Since my apps have always ran under Win9x its never been a problem. However, I understand that W2000/NT takes a dim view of accessing IO ports directly and since I can't stop the inevidable advance of W2000 upon my office PC and that of my target PC's, it's only a matter time before it becomes a problem.

Can someone offer any advice, code, net resources, etc on how to tackle direct port IO under NT/2000

-Thanks
/GavinS
0
Comment
Question by:GavinS
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 3

Expert Comment

by:Bahnass
ID: 6435562
<Ping>
0
 
LVL 6

Expert Comment

by:anthony_glenwright
ID: 6435614
My understanding of it is that you need to write a device driver - so your best place to start is the Microsoft windows DDK...
0
 

Author Comment

by:GavinS
ID: 6439264
It would appear I've succeeded in answering my own question. I found an OCX called NTport which comes with it's own NT device driver and it appears to work remarkable well.

/GavinS
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 12

Expert Comment

by:roverm
ID: 6440510
Take a look here:
http://www.thescarms.com/vbasic/CommIO.asp

D'Mzzl!
RoverM
0
 

Author Comment

by:GavinS
ID: 6451701
Thanks roverm, but this appears to be about serial port communications. Wrong type of port :-)

I've "kind-of" finished with this question now having found "NTport" but I'm not sure what to do with the points. anthony_glenwright comments were of some assistance so unless anyone has any other suggestions I give the points to him.

/GavinS

0
 
LVL 12

Expert Comment

by:roverm
ID: 6452534
Give the points to anthony!

D'Mzzl!
RoverM
0
 
LVL 6

Accepted Solution

by:
anthony_glenwright earned 250 total points
ID: 6452538
I agree (-:
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now