Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RegConnectRegistry API Run-Time Error

Status
Not open for further replies.

nickp001

Programmer
Jun 27, 2000
1
US
Does anybody have any ideas why I'd get a Run-Time error -2147417848(80010108) when executing the RegConnectRegistry API?<br><br>lRet = RegConnectRegistry(sRemoteName, HKEY_LOCAL_MACHINE, hKeyRemote)<br><br>Thanks,<br>Nick
 
is the remote machine reachable with regedit?<br><br>could you post the example code and the function definitions? <p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
RegConnectRegistry requires a lot more than this to work. <br>E.G. Administrator rights, sharing, etc. on machine you're trying to access. I never was able to make this work, but I'd be very interested to see the code that does work, and what all steps that are necessary to set this up. If anyone gets this to work, please share it. My email is <A HREF="mailto:casaye@home.com">casaye@home.com</A>. <br>Thank you<br>Clyde Saye<br><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top