Solved

How to Programm PCAnywhere-Like...

Posted on 2000-03-18
8
264 Views
Last Modified: 2010-04-04
     Suppose that, which what I really want to , I want to gain more experience  on delphi programming. What I want is to programm that can purform some tasks like PCAnywhere. The main point is that I want to create my own program that can  monitor incomming call and auto-answer such call And to perform files transferring through a wire. How can I accomplish such a task? I just have a rasapi32.pas , which is a interface unit to rasapi32.dll that can perform remote dialing with specified user name and password, on the other hand, client side. How can I create program to be server side that can automatically accept incoming call and authenticate such call to that programm. Moreover, If  a connection can be established. How can I transfer file through a wire. I need your suggestion that can guide me through the rest of these tasks or to any website the published fully documented programm like this. I want to know it clearly. Pleaseee give me a hand, and I'll give you 200 points if you answer me impressively.
0
Comment
Question by:Delphi_Expert
8 Comments
 
LVL 1

Expert Comment

by:darkloser
ID: 2632143
Win9X have a dialup server in Plus pack u can use it to answer of calls.
If u have a ppp connection you can use ftp server/client www server or some to get/put files. More info about it i can find on fpiete www page :)
best regards
0
 

Accepted Solution

by:
Portal earned 200 total points
ID: 2632661
For Modem connection and answering have a look at a TAPI component like:
http://www.pf.lv/Delphi

To make a call:
tapicom.phoneNumber := '1 2345 6789'
tapicom.makeCall

To answer a call:
tapicom.waitForCall

The component has writeLargeBlock and readLargeBlock methods which allow you to transfer files, messages, screen captures etc.
For example to send a file:
buffer : array[0..bufferSize] of byte;
ffile : TFileStream;
ffile := TFileStream.create(fmOpenRead,'Filename here');

repeat
   r := ffile.read(buffer,bufferSize);
   tapicom.writeLargeBlock(buffer,r);
until r <> bufferSize;

To receive the file do a similar thing with readLargeBlock.

My suggestion is to practice transfers between 2 computers using WSocket from fpiete and when your ready add code to transfer via TAPI and probably a more professional component suite like Async Pro from Turbo Power.

You have got a lot of work ahead of you. For example screen capturing, compression, speed considerations etc. If you want to have a look at the _source code_ for remote control software have a look at Virtual Network Computing at:

http://www.uk.research.att.com/vnc/

Good Luck!
0
 

Expert Comment

by:HamidHossain
ID: 2632739
Lestning ...
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 1

Expert Comment

by:yk030299
ID: 2634661
listen
0
 
LVL 1

Expert Comment

by:darkloser
ID: 2639769
See on torry.ru page
nblib.zip for 16 bit  and nblib32.zip i think can help you :)

regards
0
 
LVL 1

Expert Comment

by:darkloser
ID: 2639776
ops sorry wrong window :)
0
 

Author Comment

by:Delphi_Expert
ID: 2650142
Thank you very much indeed. You help me through my long last problems. I now have gain more experience on delphi programming. Hope anyone interested in this result get this too.
0
 
LVL 1

Expert Comment

by:darkloser
ID: 2653402
do u write a Dialup server :)
I search sources of dialup server.
Thanks in advance
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
delphi prevent click fast 2 214
Mobile Keyboard covers the display of the TMemo 3 85
URL for downloading Google Chrome for Win XP 2 152
Adoquery sql  left join does not work 25 89
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

786 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