Ok, thank you SO much for that. I got alittle progress, and I will continue working on this as well, but here is the issue.
It compiled with this code
Quote:
void RetrieveKeys()
{
RegistryKey^ localMachine = Registry::LocalMachine;
RegistryKey^ software = localMachine->OpenSubKey("SOFTWARE\\Blizzard Entertainment\\World of Warcraft");
System::String^ directory = software->GetValue("InstallPath")->ToString();
fWarMiner^ mainForm = gcnew fWarMiner();
mainForm->tWoWDir->Text = directory;
}
int main(array<System::String ^> ^args)
{
// Grabbing registry value for World of Warcraft Directory
RetrieveKeys();
// Enabling Windows XP visual effects before any controls are created
Application::EnableVisualstyles();
// Create the main window and run it
Application::Run(gcnew fWarMiner());
return 0;
}
But, the actual text of tWoWDir was still blank (though I know im getting the value of the registry key, because I had a messagebox set to pop up with the value of directory in it. Now, is it a problem that im doing the line
Quote:fWarMiner^ mainForm = gcnew fWarMiner();
then running
Quote:Application::Run(gcnew fWarMiner());
Which seems to be making a new form
As I lay down, staring up at the stars in all their glory, I wonder.....WHERE THE F*** IS MY ROOF!?!?!?