Displaying 1 result from an estimated 1 matches for "firewallappl".
Did you mean:
firewallapi
2001 Nov 22
1
Getting Registry info and using it ????
...ly fine..But important is I need to use the variable path read from
the registry and not the specific path..This is the way I am doing it..
****************************************************************************
****************************
LPCTSTR lpSubKey = (LPCTSTR)"SOFTWARE\\Classes\\FirewallApplication";
HKEY hKey;
char szFullPath[200];
DWORD dwBufLen;
//const unsigned short * temp;
PCWSTR temp;
HRESULT hRes;
RegOpenKeyEx(HKEY_LOCAL_MACHINE,
(LPCTSTR)lpSubKey,
0, KEY_QUERY_VALUE, &hKey );
/*the value of szFullPath is the correct value it shows w...