Registry
Registry
How can i get visual C++ to use the users registry to find there Tags directory or there main install directory? I know that its on the registry because i saw ti my self but i cant get VC++ to get them.
Also im tryig to have my app creat a directory in the halo CE directory and im at school right now and i need to see if this works in vC++
Code: Select all
#include <windows.h>
int main()
{
int returnValue = 0; //int variable initialized to zero
returnValue = CreateDirectory("c:\\mydirectory", NULL);
return 0;
}