Ok first off. I know what your going to say, "You should learn this and this before you do that". I know I should but I want to skip the stuff I won't use right now and get on to something I will use. I amtrying to make a preogram delete a certain key. Now I heard of this website that tells the functions for it all, but I'm not sure if I am doing any of it right. Well just look at the start of the code...
Code:
#include <iostream.h>
#include <conio.h>
#include <cstdlib>
int main()
{
LONG RegConnectRegistry(mycomputername,HKEY_CURRENT_USER,PHKEY phkResult);
LONG RegDeleteKey(HKEY_CURRENT_USER,Test Key);
getch();
return 0;
}
Yes I did put extra #include files in it because I will use them later. But it says there is a syntaxt error before the ( in the the LONG RegConnectRegistry line.
There is also this error I had before and is relly bugging me...
` LONG' undeclared (first use this function)
Soo.... say anything you want but I would perfer just a little help please...
Thank you.
Edit: I think I may have put this post in the wrong forum. Oops...
Edit Edit: And yes I know I need more functions to make this work but first I need to know what is wrong here.