Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

I cannot access the parallel ports under XP

Status
Not open for further replies.

khalid_Hussein

Newbie level 1
Joined
Jul 10, 2007
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,301
xp direct access parallel port

I cannot access the parallel ports (like the parallel printer ports) using Microsoft Visual C++ 6.0 under Windows XP. Is there a solution for this problem?
 

A.Anand Srinivasan

Advanced Member level 5
Joined
Oct 15, 2005
Messages
1,804
Helped
257
Reputation
514
Reaction score
39
Trophy points
1,328
Location
India
Activity points
10,680
inpout32.dll +xp+parallel

for security reasons windows XP doesn't allow the parallel port by users... if you have a urgent need try some other OS... windows 98 or linux.... linux has manuals specifying the port addresses and their usage....
 

MNomanA

Member level 3
Joined
Jun 6, 2006
Messages
55
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,286
Activity points
1,576
access port in xp

Use "Userport" driver ....... u can find it free.....
 

echo47

Advanced Member level 5
Joined
Apr 7, 2002
Messages
3,942
Helped
638
Reputation
1,274
Reaction score
89
Trophy points
1,328
Location
USA
Activity points
33,176
dll to access parallel and serial port on xp

This is a very common question. You can search EDAboard for previous discussions.

Here's a helpful web page: "Parallel Port Central"
https://www.lvr.com/parport.htm

I've had good luck with PortTalk.
**broken link removed**
 

raghuram_msc

Full Member level 1
Joined
Jul 3, 2007
Messages
95
Helped
5
Reputation
10
Reaction score
0
Trophy points
1,286
Activity points
1,930
cannot directly access to printer port

Hi..khalid,

Xp does not allow direct access to parallal ports (for that matter serial ports also!!!) what i did and u could also do is :-
1. Either write ur own .dll s and let it work as an interface, between "you" and the "Ports"...!
2. or better still use advaced platforms like VC++ ,or .NET or any others and use the inbuilt functions directly. here you need to defin "classes".The advantage here is your program shall work independent of the OS in question.

I may help if you letme know what application you are designing..!!

All the best ...!!

Bye,
Sai
 

Lance_RFdude.com

Member level 3
Joined
Mar 1, 2007
Messages
65
Helped
12
Reputation
24
Reaction score
2
Trophy points
1,288
Location
Rochester, NY
Activity points
1,733
xp cannot see ports

I've used both porttalk (beyondlogic) and winio (??) -- liked winio better in the long run. Just google these.
-Lance
 

Kurniawan

Junior Member level 1
Joined
Sep 5, 2006
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,355
can not directly access to printer port xp

You can use delphi as program maker and get the component paralel port
 

armess

Member level 3
Joined
Sep 22, 2006
Messages
64
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
1,692
release in use com ports on xp

Hi can u all tell me if i can use C++ or VB6.0 to use parallel port of my PC having XP, to control a unipolar stepper motor.

Added after 5 minutes:

Motor has a torque of 18kgcm and requires a current of 2 amps per phase.
 

mezo

Member level 5
Joined
Jul 16, 2007
Messages
81
Helped
12
Reputation
24
Reaction score
8
Trophy points
1,288
Location
Egypt
Activity points
1,738
parallel prot vb6.0 windows xp

I don't know very much about stepper motor , but i 'm going to tell you how to control the parallel port using C++ under Windows environment .

you can use these instruction : -

outp, outw .

if you want to know the prototype of these instruction use the help of the C++ version . search for out instruction .

you only will need to know the number of your PC Parallel port . you can do this from the device manager - ports Tab . you 'll find it in name of LPT1 or LPT2 . it is usually with the number 3F8H .

you don't need win32 file or any inpout.dll or inpout32.dll , that easy .
if you need more help send me .
 

simon111

Newbie level 4
Joined
Jun 28, 2007
Messages
7
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
1,322
import inpout32 dll in visual c++ 2008

try winio, it is a good tool to slove this issue.
 

kmougiakos

Newbie level 4
Joined
May 10, 2006
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,322
access to lpt port under windows xp

Inpout32.dll will solve your problem. Just google it and you ll find example code in VB that teaches you how simple is to use it...
 

anjosoviaj

Member level 1
Joined
Dec 25, 2007
Messages
38
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,533
inpout32 vbscript

hi ,

i'm doing a project that requires parallel port communication in C#. On googling, i found that this can be done using the inpout32.dll. So i downloaded it and placed it in the system32 folder of Windows.But i'm not able to use it in the program. It is showing a missing library reference or assembly directive.

I'm not able to add it to the references.It is showing error.

Is any kind of registry problems associated with this dll??

please help..
 

gwatson

Newbie level 1
Joined
Dec 31, 2005
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Canada
Activity points
1,285
access to lpt port xp

An online article over at the Code Project might help:

I/O Ports Uncensored - 1 - Controlling LEDs (Light Emiting Diodes) with Parallel Port
By Levent Saltuklaroglu

The source shows an example import statement for inpout32.dll.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top