OK, anybody interested in seeing this fixed checkout: http://bugzilla.mozilla.org/show_bug.cgi?id=93002
if anyone wants to fix that they can try and see if these needs fixing too: http://bugzilla.mozilla.org/show_bug.cgi?id=108123 http://bugzilla.mozilla.org/show_bug.cgi?id=9030 related issues: http://bugzilla.mozilla.org/show_bug.cgi?id=76111 basic A Martinez wrote: > > ------------------------------------------------------------------------ > > Subject: > > Re: Getting Netscape/Mozilla to force a connection (Win32) > From: > > A Martinez <[EMAIL PROTECTED]> > Date: > > Sat, 22 Dec 2001 12:16:06 +0100 > > Newsgroups: > > netscape.public.mozilla.general > > Path: > > secnews.netscape.com!not-for-mail > Newsgroups: > > netscape.public.mozilla.general > Organization: > > Another Netscape Collabra Server User > Lines: > > 78 > Message-ID: > > <[EMAIL PROTECTED]> > References: > > <ihYT7.33018$[EMAIL PROTECTED]> > <[EMAIL PROTECTED]> > <M48U7.43225$[EMAIL PROTECTED]> > <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> > <04hU7.365$[EMAIL PROTECTED]> > <[EMAIL PROTECTED]> > NNTP-Posting-Host: > > 213-98-177-131.uc.nombres.ttd.es > Mime-Version: > > 1.0 > Content-Type: > > text/plain; charset=us-ascii; format=flowed > Content-Transfer-Encoding: > > 7bit > User-Agent: > > Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.6+) Gecko/20011218 > X-Accept-Language: > > es-es, es, en-us > Xref: > > secnews.netscape.com netscape.public.mozilla.general:37577 > > > basic wrote: > >> If someone knows what API these apps are using to trigger the DUN it >> might get implemented if it doesn't depend on something like IE.... >> >> basic >> > > There are some different ways to achive a DUN connection. I did some > tries some time ago, and looking back this is what seems to remain: > > > void DUN_Conection_v1() > { > char Conexion[MAX_PATH]; > HKEY Reg; > DWORD size=MAX_PATH; > > if (ERROR_SUCCESS!=RegOpenKeyEx(HKEY_CURRENT_USER, "RemoteAccess", > 0, KEY_READ, &Reg)) > return; > > if (RegQueryValueEx(Reg, "Default", NULL, NULL, (LPBYTE)Conexion, > &size)!=ERROR_SUCCESS) > { > RegCloseKey(Reg); > return; > } > > if (strlen(Conexion)==0) > { > if (RegQueryValueEx(Reg, "InternetProfile", NULL, NULL, > (LPBYTE)Conexion, &size)!=ERROR_SUCCESS) > { > RegCloseKey(Reg); > return; > } > } > > RegCloseKey(Reg); > > > DWORD ID; > > InternetDial(NULL, Conexion, INTERNET_AUTODIAL_FORCE_UNATTENDED, > &ID, 0); > > } > > > > void DUN_Disconnect_V1() > { > RASCONN Conex[5]; > DWORD lpcb; > DWORD conexiones=0; > > Conex[0].dwSize = sizeof(RASCONN); > lpcb= 5 * sizeof(RASCONN); > if (RasEnumConnections(Conex, &lpcb, &conexiones)==0) > { > for(DWORD i=0; i<conexiones; i++) > RasHangUp(Conex[i].hrasconn); > } > if (conexiones>0) > Sleep(5000); > } > > > > DUN_Conection_V2: > bresult=InternetAutodial(INTERNET_AUTODIAL_FORCE_ONLINE,0); > > > DUN_Disconnect_V2: > > bresult=InternetAutodialHangup(0); > >
