Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to Programm PCAnywhere-Like...

Posted on 2000-03-18
8
Medium Priority
?
271 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 800 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

705 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