🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7611

Re: Ras Problem

#7611
From: Grety
Date: Fri, 14 Jan 2005 01:29
31 lines
1889 bytes
Hi
I has the same problem so I also ask about it

> >   DWORD i,res,numEntries = 10;
> Initialize numEntries to 0 instead.
I'll try it but is there any problem?
It has to be changed then so what will happen if I dont change to 0?


> >   res =  RasEnumEntries(NULL, NULL, entries, &size, &numEntries);
> What is the actual return value here?
How many enteries do I have?
Is that also important?


> >      rv=RasGetEntryDialParams(NULL, &params, &passwordreturned);
> What is the actual return value here?
The Parameter that we (may) like to know such as UserName , Password and
Tel#


> >  but I cant access (see) the Dial number !!
> Did you actually specify a phone number in DUN to begin with?
Yes Ofcorse (atleast in my case)

Is there any simple code that simply works at all?
we have problem seeing the Tel#.
We have success to see Username and Password

Thx
Grety
Technical Details
Message-ID: <41e92b0c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41e7968f@newsgroups.borland.com> <41e815c9@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,38f1da7e16dcf449
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Grety" <valid@emailaddress.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41e7968f@newsgroups.borland.com> <41e815c9@newsgroups.borland.com>
Subject: Re: Ras Problem
Date: Fri, 14 Jan 2005 04:59:57 +0330
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2479.0006
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006
NNTP-Posting-Host: 213.165.107.128
Message-ID: <41e92b0c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1105799948 213.165.107.128 (15 Jan 2005 06:39:08 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail