?
Solved

Direct port I/O under NT and w2000

Posted on 2001-08-28
7
Medium Priority
?
170 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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 750 total points
ID: 6452538
I agree (-:
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…
Suggested Courses
Course of the Month10 days, 18 hours left to enroll

770 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