🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

RAS

#10672
From: Babak
Date: Wed, 07 Apr 2004 17:50
23 lines
1553 bytes
Hi :-)
I have this Code but it return me the Garbage,
For example if I have just a DUN as below :
Connection Name    :    Test
Dialing Number        :    1234567
UserName                :    UN
Password                :    PW
it just show me garbages like:(not exactly)
Connection Name    :   l ?īŋŊ'
Dialing Number        :  sīŋŊ23eg_fkw
UserName                :    _}_
Password                :    ??7z

  RASENTRYNAME* entries = new RASENTRYNAME[1];
  entries[0].dwSize = sizeof(RASENTRYNAME);
  DWORD numEntries;
  DWORD size = entries[0].dwSize;
  DWORD res = RasEnumEntries(0, 0, entries, &size, &numEntries);
  for (int i=0;i<(int)numEntries;i++)
 ShowMessage(entries[i].szEntryName);
  delete[] entries;

I just need to read those information ;-)
Technical Details
Message-ID: <40744246@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,5fa49b49fea22a15,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-04-07 11:10:31 PST
From: "Babak" <babak_info@hot.pop>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: RAS
Date: Wed, 7 Apr 2004 22:20:26 +0430
Lines: 25
X-Newsreader: Microsoft Outlook Express 4.72.3110.37
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.37
NNTP-Posting-Host: 80.191.126.70
Message-ID: <40744246@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1081360966 80.191.126.70 (7 Apr 2004 11:02:46 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail