Page 1 of 1

Registry

Posted: Tue May 01, 2007 6:33 am
by DEEhunter
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.

Posted: Tue May 01, 2007 6:44 am
by DEEhunter
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;
}