473,811 Members | 2,597 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

outportb()

2 New Member
Can i use outportb() in windowsXP......
then how should i interface PC's parallel port with outside circuits for my project,.... is there any exact replacement for outportb().
Sep 5 '08 #1
1 3294
newb16
687 Contributor
Google for porttalk and/or giveio. Without such driver you will not be able to access port directly.
Sep 5 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

8
4018
by: Mylinux | last post by:
program was taken from http://www.beyondlogic.org/parlcd/parlcd.htm when compile under rh 9.0 I do not know how to correct this error. can u help? there is dos.h in my linux box.
1
2526
by: Mylinux | last post by:
root@home BLCD]# gcc test5.c test5 gcc: test5: No such file or directory test5.c:9:17: dos.h: No such file or directory test5.c: In function `main': test5.c:21: warning: return type of `main' is not `int' # I added this "/* in the left hand corner of the first line but I have the above error.
4
16209
by: Pegboy | last post by:
I am updating a utility to capture serial port data that was originally developed as a DOS app using the outportb() and inportb() routines. I am trying to re-work it as a Win32 app using Borland C++ 5.02, but am finding that outportb() and inportb() are not available for a Win32 target. There is no fancy flowcontrol or packet protocols being used, just simply capturing incoming serial data. What is available to me for such simple...
2
2976
by: rick | last post by:
Greetings to all, i am not sure this is the write group to post my question to. If it is not i apologize. In the mean time if you have the answer to my question please help. THANKS!! i am trying to write a program using parallel port. I wrote this program to change the port number to one or zero. I am not able to change the port number from one to zero. It takes it sever run time to change from one to zero. WHY? ANY SUGGESTIONS?
23
4160
by: Marco | last post by:
Could anyone please tell me why the program has the following error? I copy the program from http://www.beyondlogic.org/parlcd/parlcd.htm ///////////////////////////////////////////////////////////////////// #include <dos.h> #include <string.h> #include <stdio.h> #define PORTADDRESS 0x378 /* Enter Your Port Address Here */
1
1622
by: afshana | last post by:
#include <dos.h> #include <string.h> #include <conio.h> #include <time.h> #define PORTADDRESS 0x378 /* Enter Your Port Address Here */ #define DATA PORTADDRESS+0 #define STATUS PORTADDRESS+1 #define CONTROL PORTADDRESS+2
2
18681
by: shashi59 | last post by:
Anyone plz explain outportb function.And also explain the code below........ #define PORT1 0x3F8 outportb(PORT1 + 1 , 0); outportb(PORT1 + 3 , 0x80); outportb(PORT1 + 1 , 0x00); outportb(PORT1 + 3 , 0x03); outportb(PORT1 + 2 , 0xC7); outportb(PORT1 + 4 , 0x0B);
7
502
by: Andrew Wan | last post by:
I found this excellent High Speed Timer (in Pascal). I compiled it (using Turbo Pascal 7 and it runs fine): http://www.sorucevap.com/bilisimteknolojisi/programcilik/pascal/ders.asp?207995 and same High Speed Timer here too: http://groups.google.com/group/comp.lang.pascal/browse_thread/thread/92e9398f16c10ba4/e67ff3cf587648ef?lnk=st&q=inline(%24CD)+inline(%241C)+inline(%249C)&rnum=1&hl=en#e67ff3cf587648ef I converted it to C (using p2c),...
3
2849
by: maheshchintu | last post by:
Can i use outportb() in windowsXP...... then how should i interface PC's parallel port with outside circuits for my project,.... is there any exact replacement for outportb().
22
8551
by: orked | last post by:
hi i made program to control sevensegment but when i make debug tell me call to undefined function inportb #define Data 0x378 #define Status Data+1 #define Control Data+2 #include <dos.h> #include <conio.h>
0
9728
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10648
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
7670
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5554
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4339
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3867
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3018
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.