Solved

parallel port

Posted on 1998-09-17
10
268 Views
Last Modified: 2013-11-15
Is there any routines in c or c++ I can use to send files
from my desktop to my laptop through the parallel ports.
0
Comment
Question by:strmtrpr
  • 3
  • 3
  • 2
  • +1
10 Comments
 
LVL 6

Expert Comment

by:snoegler
ID: 1173001
In standard C/C++, no. And even for windows 95/nt there aren't any functions for that, as
far as i know. I think you've to do it by yours
0
 
LVL 6

Expert Comment

by:snoegler
ID: 1173002
.. by yourself ... I think there are some commercial tools for that, but i don't remember right
now. (Sorry, just hit the mouse when it was over 'Submit' :-)
0
 

Author Comment

by:strmtrpr
ID: 1173003
thanks

0
 
LVL 22

Expert Comment

by:nietod
ID: 1173004
It depends on what you mean.  The parallel ports are treated as files.  You can use C++ to open the associated file and read and write to the file in order to read and write to the port.  C++ doesn't give you any options for configuring the port however.  If you are working in windows, there are functions for doing so.
0
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1173005
Whatever you create, it will not work under NT without a device driver.
Search on the net for a program called Flying Dutchman. It is an old dos program which does this for you. (I used to work on this application as a developer).
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 22

Expert Comment

by:nietod
ID: 1173006
MirkWood, you can't open a parallel port with CreateFile() under NT?  The documentations doesn't indicate this is a problem.  (Actually, it seems to suggest this is the only way.)
0
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1173007
Writing to the port isn't the problem. Reading is. The port was not decided for two-way traffic altough it is possible.
0
 

Author Comment

by:strmtrpr
ID: 1173008
Thanks to everyone who has helped me

0
 
LVL 13

Accepted Solution

by:
Mirkwood earned 100 total points
ID: 1173009
You wanted the routines.
Here you can find them http://www.lvr.com/parport.htm
or an OCX
http://www.infinet.com/~dhoehnen/software/


0
 

Author Comment

by:strmtrpr
ID: 1173010
thanks again I have finding some useful info all over the place,

0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now