Subj : i need help with ras To : borland.public.cpp.borlandcpp From : Antonio Eligio Perez Moron Date : Tue Mar 15 2005 09:20 am 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"); .