Parallel Port In XP

Nimish

Member
Join Date
Jul 2006
Location
Ahmedabad
Posts
22
Hello Friends
I have a problem accessing parallel port in Xp.I am using Borland C
in which function outportb,inportb are used.This program is to control the data on parallel port which is given to circuit to select the devices(VIZ encoder).I searched in Google and found that
inpout32.dll driver must be loaded.I copied it on my harddisk.But still the port is dump.
Thanks.
 
Have you explicitly loaded the DLL in your program? If not, Window's won't just 'Run' it. Also, have you prototyped the actual input and output function pointers to the DLL?

It is generally easiest when using a library such as impout32.dll to make a wrapper function around the actual library calls.

In any event, you need to access the library functions. The standard inp and outp functions in Borland will simply not work.
 
I have copied the DLL but still i can not acess my parallel port.
Do i have to include any new function in my program?
 
rdrast said:
Have you explicitly loaded the DLL in your program? If not, Window's won't just 'Run' it. Also, have you prototyped the actual input and output function pointers to the DLL?

I have not done any of the things above.
 
Check out links i have posted. Visit the second one and you will get an example for C compiler etc...
 

Similar Topics

I'm trying to find a way to receive a string in my compactlogix that's coming from a device typically used in a lab connected to a PC. There is 2...
Replies
6
Views
1,993
I've encountered a fairly new MiCOM protection relay that for some reason can only accept firmware updates via a 25-pin parallel printer port. The...
Replies
7
Views
2,699
Background: We have some age-old HMI software that runs on Windows 2000 only. Until now, we have solved the problem of supporting this old HMI...
Replies
21
Views
13,009
Hello I have 2 industial operator panels (Exor eTOP33C) which are connected (using their RJ-45 ports) to an ethernet network to that includes...
Replies
5
Views
7,726
I am looking for an adaptor to drive a USB printer from the parallel port of my Citect SCADA PC. I understand that such adaptors exist and that...
Replies
15
Views
10,380
Back
Top Bottom