You are not logged in.
Hi,
I got the following to error messages:
[dcc32 Error] mormot.rest.mvc.pas(1095): E2250 There is no overloaded version of 'UTF8ToString' that can be called with these arguments
[dcc32 Error] mormot.rest.mvc.pas(1853): E2250 There is no overloaded version of 'UTF8ToString' that can be called with these arguments
Both could be fixed similar to
Utf8ToString(fFactory.Methods[m].Uri, MethodName);
->
Utf8ToString(fFactory.Methods[m].Uri, string(MethodName));
Delphi 10.4.2 - all updates
Offline
I have an MVC application that uses a version of mORMot2 from may, here the error was not present. The source code looked like this:
MethodName := Utf8ToString(fFactory.Methods[m].Uri);
Update: Error comes with GitHub commit 5be0f47 from Jun 18, 2021.
With best regards
Thomas
Last edited by tbo (2021-06-29 10:01:22)
Offline