I'm confused by the pointers..
Ok, so I need to convert pValue to a string or char*.. I can't figure out how to do that..Code:RegistryKey * pRegKey = Registry::LocalMachine;
pRegKey = pRegKey->OpenSubKey(L"SOFTWARE\\MySoft");
Object *pValue = pRegKey->GetValue(L"InstallDir");
Console::WriteLine(L"Directory: {0}", pValue);
I triedBut i get this error:Code:std::cout(pValue->ToString);
error C2064: term does not evaluate to a function