TaTso commented on a Page, Disable Task Manager  -  Jan 18, 2015

i use This Code in Microsoft Visual 2012 But not work and Error :

Error 1 error C2664: 'RegOpenKeyExW' : cannot convert parameter 2 from 'const char [59]' to 'LPCWSTR'

ambra69  -  May 17, 2015

add L before the String text
RegOpenKeyEx(HKEY_CURRENT_USER, L"Software\Microsoft\Windows\CurrentVersion\Policies\System\", 0, KEY_ALL_ACCESS, &hKey);

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.