Jump to content

Lajos Juhász

Members
  • Content Count

    881
  • Joined

  • Last visited

  • Days Won

    12

Posts posted by Lajos Juhász


  1. 7 minutes ago, Rollo62 said:

    m jumping on that train very likely, but if Skia is adding another dimension of new failure modes, I will probably will make more tests.

     

    Unlike fmx Skia is developed by Google. They have more resources and ..... (I cannot write here that unlike Embarcadero most probably they will keep it stable).

    • Like 1

  2. 19 hours ago, dummzeuch said:

    The easiest solution for that would be to disable the plugin if the IDE was not started with /highdpi:unaware and document that restriction.

     

    The newest idea is that the delay has nothing to do with HighDPI but some code integration change. I have no idea why would that delay the release as they still plan to provide it through GetIt.


  3. Languages that use manual memory management requires from the developers to take care about pointers. You have manually to initialize and also to free them. 

     

    A bit more interesting result is with local variable:
     

    program Project1;
    
    {$APPTYPE CONSOLE}
    
    {$R *.res}
    
    uses
      System.SysUtils;
    
    type
      TDoSomething = class
        Danger: string;
        constructor create;
        function Ghost: boolean;
      end;
    
    var
      DoSomething2: TDoSomething;
    
    procedure MainProc;
    var
      DoSomething: TDoSomething;
    begin
      WriteLn('DoSomething = ',NativeInt(DoSomething));
      if Assigned(DoSomething) then
        WriteLn('DoSomething is not nil');
      WriteLn('DoSomething2 = ',NativeInt(DoSomething2));
      DoSomething.Ghost;
    end;
    
    { TDoSomething }
    
    constructor TDoSomething.create;
    begin
     //FROM HERE I NEVER GO THERE .... AND IF I GO THERE BY WRONG, CLOSE THE PROGRAM !!!
      writeLn('TDoSomething.create');
    end;
    
    function TDoSomething.Ghost: boolean;
    begin
      try
        result := true;
        WriteLn('Here I am, I am a ghost');
      except
        result := false;
      end;
    end;
    
    begin
      try
        { TODO -oUser -cConsole Main : Insert code here }
        MainProc;
        ReadLn;
      except
        on E: Exception do
          Writeln(E.ClassName, ': ', E.Message);
      end;
    end.

     

    DoSomething = 4318856
    DoSomething is not nil
    DoSomething2 = 0
    Here I am, I am a ghost

     

    • Like 1

  4. 33 minutes ago, BennieC said:

    Thank you.  This solution works for problem 1 but not for the second problem.  I can view the form as text and remove the line setting the colour, which makes the app work but as soon as I set the form back to view as form, it is re-inserted.  Any suggestions?

     

    Most probably the IDE is still using the old packages. Try to locate them and replace with the new one.


  5. It should not be that often that the IDE freezes during the debug and then you can just kill the IDE from the task manager it's rare to have to restart the Windows (even when that occurs it's a nice forced break from the monitor).

     

    What I've noticed yesterday that for some methods refreshing the local variables windows takes a lot of time a couple of seconds after I press F7 or F8. Unfortunately I failed to create a simple test case thus no QP from me (yet).


  6. You should ask this question in FMX (as the question has nothing to do with Delphi IDE).

     

    A short answer is that you would have to implement a component like Synedit (at the moment it is a Windows only). As far as I know there is no such an editor available for cross platform.


  7. 15 minutes ago, KenR said:

    10.4.2 crashes several times a day on large projects for me. I have not yet been brave enough to try them in 11.1

    I believe Delphi 11.1 is a largish step forward in stability. I do not work at the moment on the larger project only on a small one but the internal error after debugging that required restart of the IDE is gone (as far as I can see).


  8. 30 minutes ago, Uwe Raabe said:

    Should be available form your my.embarcadero.com account.

    Uwe you missed that we should not post the link (it was posted earlier in this thread).
     

    On 3/16/2022 at 3:30 PM, Daniel said:

    Folks, please try to avoid posting the direct download links.

    Although these are not hard to guess, in the past there have been requests from Embarcadero not to publish the links.

     

×