Strange problem. Enum definition on .net server:
public enum LoginType
{
Application,
ActiveDirectory
}
Import service from URL will generates delphi interface:
LoginType = (LoginType_Application, LoginType_ActiveDirectory);
procedure LoginRequest.ReadComplex(aSerializer: TObject);
var
__Serializer: TROSerializer;
l_LoginType: LoginType;
l_Password: ROUTF8String;
l_Username: ROUTF8String;
begin
......
Compiler says: const or typedefinition expected at LoginType. And several other errors regarding TYPEINFO. If i rename LoginType to TLogintype - everything works. Whats wrong.
This seems like it might be the same issue as Incompatible types: TClass and, looks like maybe we regressed something in .1449. Unfortunately my colleague Eugene who will be the best person to look at this is ours of officer today and tomorrow, but I’ll make sure this will get looked at ASAP on Wednesday.
I assume this issue is new in .1449, and art works fine in the previous release?
Ah, ok. I apologize for the inconvenience. I hope we can sort it out quickly on Wednesday; if you do need a fix sooner, I freak mend trying out the previous build (it’s safe to downgrade on top of 1449, and later upgrade back to the fixed version).