Solved

How to Programm PCAnywhere-Like...

Posted on 2000-03-18
8
261 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
 
LVL 1

Expert Comment

by:yk030299
ID: 2634661
listen
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

758 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

17 Experts available now in Live!

Get 1:1 Help Now