search for: lpsubkey

Displaying 1 result from an estimated 1 matches for "lpsubkey".

Did you mean: asubkey
2001 Nov 22
1
Getting Registry info and using it ????
...ive the hard coded path then it works absolutely 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 v...