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

x
?
Solved

Initiate DUN session In Delphi

Posted on 1999-06-29
2
Medium Priority
?
200 Views
Last Modified: 2012-05-04
I was wondering if it is possible to initiate a dial up networking session using Delphi.  I would like for my program to initiate the DUN session before sending files using the ftp component.
0
Comment
Question by:brettawv
[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
  • 2
2 Comments
 
LVL 15

Expert Comment

by:simonet
ID: 1385269
You can download one of many TRas components from Delphi Super Page (http://sunsite.icm.edu.pl/delphi). Most of them come with examples that will let you initiate a RAS session.

The basic calls involved are:
RasDial
RasHangUp
RasGetErrorString

Yours,

Alex
Athena's Place: http://www.bhnet.com.br/~simonet
0
 
LVL 15

Accepted Solution

by:
simonet earned 400 total points
ID: 1385270
brettawv,

I found the demo project that got me started on the subject and uploaded it to my site. All you need is there in the demo application, along with a great translation of the RAS header file:

http://www.bhnet.com.br/~simonet/extras/tras.zip

yours,

Alex
Athena's Place: http://www.bhnet.com.br/~simonet
0

Featured Post

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!

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…
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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

661 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