Programming Parallel Port in Win2k an XP Problem

Posted on 2004-09-19
Medium Priority
Last Modified: 2013-11-17
Hello everyone.
Not sure if this is the correct are to place this question but it was the closest I could find.
Here's my probelm:
I am currently writing a program which will communicatewith the parallel port on my PC to an external RF transciever. A friend of mine has tried something similar already and he tells me that I may need some kind of driver. Im doing this on win2k and then maybe win XP. Could someone tell me if this is true. I will be writing the code in C++. Where do I download this driver from and where do I put it when I download it? Is there any chance that I could do harm to my machine if I don't use it corectly or put it in the wrong place?

Why have microsoft done this anyway? is it just for security?

Thanks for any help you might have.  
Question by:fr_cassidy
LVL 11

Expert Comment

ID: 12096271
Yeh microsoft have done this for security reasons

this site may help ya
LVL 16

Expert Comment

by:George Tokas
ID: 12101898
Jase-Coder's suggestion will help you a lot.
BUT if you use like us Borland's C++ Builder then I suggest to look at IOPort component from www.winsoft.sk
You can use this component to communicate with Paralel port (or any other I/O port you like) but you have to add IOPort.sys to your drivers directory.
Comment: Microsoft want to make our life hell.


Expert Comment

ID: 12102284
Using the giveIO driver will greatly simplify your life.
After installing giveIO from your application you can just use the standard IO calls inport and outport.

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.


Author Comment

ID: 12102507
thanks for the replies guys,
haven't realy got time to try until later today. I'll get back then to let you all know how it goin.
thanks again

Author Comment

ID: 12103661
Has anybody every come accross the porttalk program available free for download at http://www.beyondlogic.org/porttalk/porttalk.htm? It seems good but I haven't installed it yet.

Or has anybody every successfully managed to program the parallel port using windows 2000 or xp. Some of the links above tell me im using the software at my own risk. I'm not really prepared to take any chances. Surely there must be a reliable straight forward way to allow access to the ports?

Thanks again for any suggestions

Author Comment

ID: 12104086
Hello again,
Does anybody know anything about the driver inpout32.dll? I found it at http://www.logix4u.net. The documentation seems to be sketchy. It says to copy it to the system folder but I can't find out what I have to do in the existing C++ program. Would I have to include the driver some way? and also somewhere I read that instead of using inp or outp as I do in C++, you have to use inp32 and outp32. Does anybody have any ideas on this? Is this a better option than the porttalk program mentioned above? There seems to be no installation and no initialisation before the program is run. It seems you just work away as normal once you mave the driver to the correct location and possibly make some changes in your own code?

Thanks again,

Author Comment

ID: 12113539
Ok, thanks for all your comments. Just got it going. Downloaded a program called userport found in a google search, which install a driver and allows you to configure which addresses you want to open. very simple to use and reliable so far. I'd recommend it. it was hard to find any documentation on the proper procedures for the programs/drivers mentioned above.


Accepted Solution

ee_ai_construct earned 0 total points
ID: 12160586
Closed, 70 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin

Expert Comment

ID: 13516339
Hello, i have the same problems moths ago,

I use a dll driver called UserPort. It's free, it's easy to install.

With wthis program, now, you can use the paralel port in Windows Xp like Windows 98.+

Try it beacuse perhaps you haven't change your actual code. If runs in w98 then will run in xp


Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand column That will then direct you to their download page. From that p…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

569 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