Registry

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
Post Reply
User avatar
DEEhunter





Posts: 897
Joined: Sun Jun 19, 2005 4:04 pm
Location: 127.0.0.1
Contact:

Registry

Post 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.
Image

Deviantart | My City | Wmclan | Gamertag | [url=irc://irc.halomods.com/melon]#melon[/url]
User avatar
DEEhunter





Posts: 897
Joined: Sun Jun 19, 2005 4:04 pm
Location: 127.0.0.1
Contact:

Post 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;
}
Image

Deviantart | My City | Wmclan | Gamertag | [url=irc://irc.halomods.com/melon]#melon[/url]
Post Reply