Solved

Programming Parallel Port in Win2k an XP Problem

Posted on 2004-09-19
10
12,251 Views
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.  
0
Comment
Question by:fr_cassidy
[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
10 Comments
 
LVL 11

Expert Comment

by:Jase-Coder
ID: 12096271
Yeh microsoft have done this for security reasons

this site may help ya
http://www.lvr.com/parport.htm
0
 
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.

gtokas.
0
 
LVL 9

Expert Comment

by:Cayce
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.

http://www.littlesounddj.com/awkiawki/index.cgi/GiveIO
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!

 

Author Comment

by:fr_cassidy
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
fr
0
 

Author Comment

by:fr_cassidy
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
fr
0
 

Author Comment

by:fr_cassidy
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,
fr
0
 

Author Comment

by:fr_cassidy
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.

thanks
fr
0
 

Accepted Solution

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

Expert Comment

by:yagomera
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

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

Suggested Solutions

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
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 columnThat will then direct you to their download page.From that page s…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

738 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