I m new here, and almost "new" to C++ ( Managed )
I created new project ( Standart CLR Application ) from scratch.
This project is just for learning and testing purposes.
#pragma once
usingnamespace System;
namespace PropertyManager
{
public ref struct StaticVariables
{
public:
static String^ ConfigFile = "Config.ini";
static String^ Version = "(beta)";
};
public ref class Language
{
public:
void SetName( String^ _Name)
{
Name = _Name;
}
String^ GetName()
{
return Name;
}
void LoadAllStrings()
{
}
private:
String^ Name;
};
}
Everything is compiled without any problems or warnings.
Application also runs ok .. but the problem is that String called Name inside Language class wont change
It still shows that Language Name is "empty"