Article View: borland.public.cppbuilder.nativeapi
Article #9279Re: Ras again
From: Babak
Date: Thu, 22 Jul 2004 06:08
Date: Thu, 22 Jul 2004 06:08
20 lines
1764 bytes
1764 bytes
Without Return Value , if we think its not important right now
what is the problem of the lines below ,
because I cant see the Number (last line) although I already have it in
Phonebook !!!
//=============================
RASENTRYNAME entries[256];
entries[0].dwSize = sizeof(RASENTRYNAME);
DWORD size = sizeof(entries),numEntries = 10;
BOOL passwordreturned=TRUE;//FALSE?? what??
RasEnumEntries(NULL, NULL, entries, &size, &numEntries);
RASDIALPARAMS params = {sizeof(RASDIALPARAMS), 0};
strncpy(params.szEntryName,
entries[0].szEntryName,
RAS_MaxEntryName);
RasGetEntryDialParams(NULL, ¶ms, &passwordreturned);
Memo1->Lines->Add("UseName:\t"+AnsiString(params.szUserName));
Memo1->Lines->Add("Password:\t"+AnsiString(params.szPassword));
Memo1->Lines->Add("Phone #:\t"+AnsiString(params.szPhoneNumber));
Technical Details
Message-ID:
<40ff5a56@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40f805ab@newsgroups.borland.com> <40fce98c@newsgroups.borland.com> <mauqf0duur0e30qr9o304hbdd3t0iujkak@4ax.com> <40fe7c46@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,6d4b466cdd4c8652 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Babak" <babak_info@hot.pop> Newsgroups: borland.public.cppbuilder.nativeapi References: <40f805ab@newsgroups.borland.com> <40fce98c@newsgroups.borland.com> <mauqf0duur0e30qr9o304hbdd3t0iujkak@4ax.com> <40fe7c46@newsgroups.borland.com> Subject: Re: Ras again Date: Thu, 22 Jul 2004 10:38:14 +0430 Lines: 23 X-Newsreader: Microsoft Outlook Express 4.72.3110.37 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.37 NNTP-Posting-Host: 62.60.157.36 Message-ID: <40ff5a56@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1090476630 62.60.157.36 (21 Jul 2004 23:10:30 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail