Hello,
I really wanted this to be a good experience, but it’s not going so well. My primary purpose for trialling Elements was to convert an old Delphi project to .net.
I downloaded the trial version (RemObjects Elements with Water - 11.0.0.2735.exe) and the latest Visual Studio 2022 Community Edition.
But sometimes after a build it will crash with an access violation. If the build is successful then the AV does not happen. But if there are errors in the code, it will crash and VS will exit.
Maybe there is a log file I could send to you? So instead I am using Water which doesn’t crash after a build.
But I have another issue:
I create a new Project, choose Console Application (.NET Core) and tick “Use Elements RTL”. Then I add a reference to “C:\Program Files (x86)\RemObjects Software\Elements\References\Echoes\NET\Delphi.dll”
Then I build this code:
namespace Test3;
interface
uses
System.Linq,
RemObjects.Elements.RTL.Delphi;
type
Program = class
public
class method Main(args: array of PlatformString): Int32;
end;
implementation
class method Program.Main(args: array of PlatformString): Int32;
var
s :String;
begin
s:=DateToStr(EncodeDate(2000,1,1));
end;
end.
But when I run it I get:
An exception occurred in Test3, thread 1C18
Type: System.StackOverflowException
Message:
An exception of type: System.StackOverflowException occurred
Call Stack:
0000000000000000 System.String.op_Equality
0000000000000000 RemObjects.Elements.RTL.Delphi.DelphiString.InternalCreate (String.pas, line 1593)
0000000000000000 RemObjects.Elements.RTL.Delphi.DelphiString…ctor (String.pas, line 663)
0000000000000000 RemObjects.Elements.RTL.Delphi.DelphiString.op_Implicit (String.pas, line 597)
0000000000000000 RemObjects.Elements.RTL.Delphi.DelphiString.IsNullOrEmpty (String.pas, line 974) [repeated]
I hope you can help because I so wanted this to be a good product.
Thanks,
Adam