In the ares_init file, i replace
like below:
@@ -68,6 +68,7 @@
int ares_init(ares_channel *channelptr)
{
- - #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)
What do you think?
Julien
_______________________________________________
http://cool.haxx.se/mailman/listinfo/c-ares
Received on Tue Apr 26 18:04:02 2005