• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:

Direct port I/O under NT and w2000

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
GavinS
Asked:
GavinS
  • 2
  • 2
  • 2
  • +1
1 Solution
 
BahnassCommented:
<Ping>
0
 
anthony_glenwrightCommented:
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
 
GavinSAuthor Commented:
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
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.

 
rovermCommented:
Take a look here:
http://www.thescarms.com/vbasic/CommIO.asp

D'Mzzl!
RoverM
0
 
GavinSAuthor Commented:
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
 
rovermCommented:
Give the points to anthony!

D'Mzzl!
RoverM
0
 
anthony_glenwrightCommented:
I agree (-:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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.

  • 2
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now