This site hosted by Free.ProHosting.com
Google

How can I create a new phonebook entry?

Applies To: C++Builder 1 or higher
Category: Knowledge Base

 
 1.
  Start a new application.
 
 2.
  Add a Button. Edit its OnClick event:
 
#pragma warn -dup
#define WINVER 0x400
#include <ras.h>
 
void __fastcall TForm1::Button1Click(TObject *Sender)
{
    RasCreatePhonebookEntry(Handle, 0);
}
 
As you can see, creating a new phonebook entry is quite simple. All you have to do is call the RasCreatePhonebookEntry function. Windows takes care of the rest.

C++Builder Developer's Network
Copyright © Yoto Yotov