search for: hrinstallnetcomponent

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

2001 Nov 22
1
Getting Registry info and using it ????
...); /*the value of szFullPath is the correct value it shows while debugging*/ RegQueryValueEx(hKey, (LPCTSTR)"FullPath", NULL, NULL,(LPBYTE) &szFullPath, &dwBufLen); RegCloseKey( hKey ); printf( "The fullpath is %s \n", &szFullPath ); /*if i use this temp in the HrInstallNetComponent function then it installs the driver correctly*/ //temp = L"C:\\Program Files\\LoadApplication7\\netsf.inf"; /*And this doesn't work but I want to use variable path*/ temp = (PCWSTR) szFullPath; printf( "The fullpath is %s \n", temp ); printf("Please wait while it i...