Article View: borland.public.cppbuilder.nativeapi
Article #7165Ras RasGetEntryProperties
From: Antonio Eligio Perez Moron
Date: Wed, 09 Mar 2005 10:22
Date: Wed, 09 Mar 2005 10:22
30 lines
1684 bytes
1684 bytes
the following entrys dont work , i can not read or write its values ,
TheRasEntry.dwRedialCount
TheRasEntry.dwRedialPause
this is my code
DWORD a = 0;
DWORD b = 0;
int j = RasGetEntryProperties(NULL,NULL,0,&a,0,0);
int k = RasGetEntryProperties(NULL,NombreConexion.c_str(),0,&b,0,0);
TheRasEntry.dwSize = a;
int n =
RasGetEntryProperties(NULL,NombreConexion.c_str(),&TheRasEntry,&b,0,0);
// if (n!=0) loggerGsm("Error Leyendo Properties de Conexion GSM ");
TheRasEntry.dwRedialCount = 8;
TheRasEntry.dwRedialPause = 15;
DWORD fRet;
DWORD g = sizeof(TheRasEntry);
fRet = RasSetEntryProperties(NULL,NombreConexion.c_str() ,&TheRasEntry,
g, NULL, 0);
if (fRet != 0)
throw Exception("Error :: RasSetEntryProperties");
Technical Details
Message-ID:
<422ece58@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2f5aa2be7df284fa,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Antonio Eligio Perez Moron" <eperez@acisa.es> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Ras RasGetEntryProperties Date: Wed, 9 Mar 2005 11:22:15 +0100 Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 213.227.43.227 Message-ID: <422ece58@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1110363736 213.227.43.227 (9 Mar 2005 02:22:16 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail