Describe the bug
Runtime error that happens with the attached program
To Reproduce
But now I get strange errors when running the program:
System.InvalidCastException
HResult=0x80004002
Message=Das Objekt des Typs "tabSettingsAllgemeinEdit" kann nicht in Typ "System.Func`2[XSharp.__Usual,System.Boolean]" umgewandelt werden.
Source=BaseSystem
StackTrace:
at DataServer.RegisterClient(Object oForm) in C:\projects\xsharp\AcsLib\src\BaseSystem\DataServer.prg:line 291
at IM.XsLib.AcsSQL.SqlDynamic.RegisterClient(Object oForm) in C:\projects\xsharp\AcsLib\src\AcsSQL\SqlDynamic.prg:line 1561
The position of the code is this. This is also verified with the debugger. The array is empty in this moment.
->>> if AScan( aClients, oForm ) # 0
ConsoleTests.zip