On Wednesday, October 10, 2007 9:24 PM [EDT],
Aengus <[EMAIL PROTECTED]> wrote:
if (*c == '5') {
if (*(c + 1) == '.' && (*(c + 2) == '0'))
*name = "Windows:Windows 2000";
else if (*(c + 1) == '.' && (*(c + 2) == '1')) {
if (strstr(whole, "; x64;") != NULL)
*name = "Windows:Windows XP64";
else
*name = "Windows:Windows XP";
}
else if (*(c + 1) == '.' && (*(c + 2) == '2'))
*name = "Windows:Windows Server 2003";
else
*name = "Windows:Unknown Windows";
}
else if (*c =='6') {
if (strstr(whole, "; x64;") != NULL)
*name = "Windows:Windows Vista64";
else
*name = "Windows:Windows Vista";
}
else if (*c >= '7' && *c <= '9')
*name = "Windows:Unknown Windows";
else
*name = "Windows:Windows NT";
}
I forgot to link to the instructions for compiling this on a Windows machine
to create your own modified executabe.
http://lists.meer.net/pipermail/analog-help/2007-January/020117.html
Aengus
+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.meer.net/mailman/listinfo/analog-help
|
| Analog Documentation: http://analog.cx/docs/Readme.html
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------