Solved

Direct port I/O under NT and w2000

Posted on 2001-08-28
7
165 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
Industry Leaders: 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

Independent Software Vendors: 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!

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…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…

688 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