ObjectGetString returns nothing after last update

 

Hi everyone,

After last update, I think ObjectGetString does not work properly. Following code, prints nothing and gives the error 5040:

void OnStart()
  {
   string name = "lbl_test";
   ObjectCreate(0, name, OBJ_LABEL, 0, 0, 0);
   ObjectSetString(0, name, OBJPROP_TEXT, "This is it");

   string got=ObjectGetString(0, name, OBJPROP_TEXT);
   Print(got);
   Print(GetLastError());
  }

Of-course if I use the bool version of the function it will work. But since MQL library use the string version (for instance in CChartObject class), I am in trouble.

Has anyone faced the same problem? Any solution?