< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

RE: [reSIProcate] the role of ares for resiprocate


That's fine - this code is only for determining the location of the hosts file on windows.  The hosts file is only used a backup to DNS queries. 

 


From: julien thai [mailto:julienresiprocate@xxxxxxxxx]
Sent: Tuesday, April 26, 2005 2:25 PM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: [reSIProcate] the role of ares for resiprocate

 

 

Dear Experts,

 

I decided to change the code of ares to pass some errors in wince.

then in ares_init.h, i changed the code like below. It means that

it doesn't use some code.

 

If i do like that,i don't know if  it will make something change in

resiprocate later?

 

Can you explain me anything?

 

  #ifdef WIN32
+#ifndef _WIN32_WCE
     HKEY hKey; 
     char hostpath[256];
     if(RegOpenKeyEx(HKEY_LOCAL_MACHINE, "SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters", 0, KEY_QUERY_VALUE,

     &hKey) == ERROR_SUCCESS) 
       }
   }
#endif

 

Julien