Hi,
LoadKey is a function returning a boolean value. Check its result. Several reasons for a fail are possible:
1. Security issues - your account doesn't have enough privileges to write to HKLM.
2. Security again - your account needs backup and restore privileges to execute that function.
3. The subkey TEMPHIVE must exist beforehand.
Regards, Geo
Main Topics
Browse All Topics





by: ciulyPosted on 2006-08-19 at 12:05:36ID: 17348807
see this article: http://www.thecodecave.com /article61