60 428
Assignments Done
98,1%
Successfully Done
In April 2018

Answer to Question #25277 in C++ for dharmendra

Question #25277
**i need c++ or c program to Chang software registry** i want to Chang HKEY_LOCAL_MACHINE\SOFTWARE\Linktop3G
Engineer key value is 1 but i want to chang it 0 (change the Engineer key from 1 to 0 by c++ or c .)
but how? canany one one help me ??? could u send me that program at my email id?(dharmendrak320@gmail.com)
Expert's answer
#include <stdio.h>
#include <conio.h>
#include <windows.h>

int main()
{
int value = 0;
if (RegSetKeyValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Linktop3G", "Engineer",
REG_DWORD, &value, sizeof(value)) != ERROR_SUCCESS)
printf("Failed to change key value.\n");
else
printf("Key value successfully changed.\n");

_getch();
return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions