PDA

View Full Version : xp problem...



ognjen
12-09-2004, 03:00 AM
i dont know what to do... my data pins on paralel port are crazy... they`re always high... what ever i program they are always high... please help me....

ice
12-09-2004, 08:31 AM
XP doest give direct access to your parallel port
This page may help you out.

I have a dual OS on my PC..
i use 98 for interfacing and stuff and XP for visual gratification!!!!
:D :D :D

-ice

ognjen
12-09-2004, 03:33 PM
i have dual OS on my PC to... but can my program work on WinXp if i make it in Win98... on which page you think... machineqrid? THANKS!

ice
12-09-2004, 05:20 PM
Uhhhh, forgot the link

http://www.beyondlogic.org/porttalk/porttalk.htm

no it won't work even if u make it in 98..

ice
12-09-2004, 05:26 PM
no it won't work even if u make it in 98..
let me rephrase it

it'll work in XP if you got the necessary drivers..i've never got over the problem..so i use 98 for the moment

-ice

ognjen
12-10-2004, 04:19 AM
...oh men... but my project is almost finished and it need to be runed under xp... gerry, please try to find out how to solve this problem... and can you tell me, please, how to make something in c compiler to do it in some particular time... somethin like "...outportb(0x378,0x00)... at 14:00.." Thanks!!

yogi
01-17-2005, 07:15 AM
see parallel port tutorials

www.bibinjohn.tk

if u want to use XP then u have to use VB

download dll from

www.logix4u.net

for more question see

www.groups.yahoo.com/parallelport

rohitd
12-30-2005, 05:27 PM
use inpout32.dll for interfacing parallel port in XP,just goggle for inpout32.dll and use it in VB,and call functions inp() and out() in your routine,dont forgget to include the dll in your program


Private Declare Function Inp Lib "inpout32.dll" _
Alias "Inp32" (ByVal PortAddress As Integer) As Integer
Private Declare Sub Out Lib "inpout32.dll" _
Alias "Out32" (ByVal PortAddress As Integer, ByVal Value As Integer)


Private Sub Command1_Click()
Out 888, 170 '170 is the data to be outputed
Text1.Text = Inp(889) ' 888=0x378
'Out 1914, 128
Do While Check1.Value <> 0

Text1.Text = Inp(889) ' 889=0x379
DoEvents
Loop
End Sub

yogi
08-06-2006, 04:43 PM
u just install userport, then everything will work in winXP
http://booksbybibin.14.forumer.com/viewtopic.php?t=74

Bibin John
www.bibinjohn.tk