MonkeeSage,
Here's a minor change to the code, the three lines which add the findnick function remain the same.
#include <wininet.h>
...
void findNick(char *nick, char *url)
{
HKEY hKey;
DWORD dwSize;
char regkey[128] = "Software\\Microsoft\\Internet Explorer\\SearchUrl\\";
*url = 0;
strncat(regkey, nick, 80);
if (RegOpenKey(HKEY_CURRENT_USER, regkey, &
Forum:
General