Parallel Port Programming in Windows XP
-
I wish to control LEDs on a bread board through the parallel port using a c++/vc++ program made in windows xp. I tried doing the same thing on windows 98 where it worked but i guess windows xp does not give permissions to access the parallel port for programming. Is it really so?? If yes, then plz suggest a suitable alternative or workaround to this so that i can control LEDs by programming on windows xp. I'm also interested in knowing how to program the USB & serial ports. Can anyone help me out pls???:confused: Nikhil
-
I wish to control LEDs on a bread board through the parallel port using a c++/vc++ program made in windows xp. I tried doing the same thing on windows 98 where it worked but i guess windows xp does not give permissions to access the parallel port for programming. Is it really so?? If yes, then plz suggest a suitable alternative or workaround to this so that i can control LEDs by programming on windows xp. I'm also interested in knowing how to program the USB & serial ports. Can anyone help me out pls???:confused: Nikhil
-
I wish to control LEDs on a bread board through the parallel port using a c++/vc++ program made in windows xp. I tried doing the same thing on windows 98 where it worked but i guess windows xp does not give permissions to access the parallel port for programming. Is it really so?? If yes, then plz suggest a suitable alternative or workaround to this so that i can control LEDs by programming on windows xp. I'm also interested in knowing how to program the USB & serial ports. Can anyone help me out pls???:confused: Nikhil
Windows 2000 and XP does not gives access to parallel port. Alternate is to use a device driver which resides in kernel and gives access to your program. Check out this page: http://www.codepedia.com/zone15/cat610/ I used Inpout32.dll and it worked. You only have to use dll, and call its functions:
Inp32(...), Out32(...)
:cool: ARSALAN MALIK