Solved

Direct port I/O under NT and w2000

Posted on 2001-08-28
7
162 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
maro to copy and paste from one worksheet to another based on a condition 11 70
vbModal 12 73
Set WorkSheet  not Working 9 62
SQL Server 2012 to SQL Server 2016 24 54
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

737 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