Jump to content

Primož Gabrijelčič

Members
  • Content Count

    154
  • Joined

  • Last visited

  • Days Won

    8

Primož Gabrijelčič last won the day on April 30

Primož Gabrijelčič had the most liked content!

Community Reputation

151 Excellent

5 Followers

Technical Information

  • Delphi-Version
    Delphi 10.2 Tokyo

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Primož Gabrijelčič

    IDE Fix Pack 6.4.4 - failed to load layout

    Delphi 10.3.2, IDE Fix Pack 6.4.4 When I close a project with File, Close All, I get this error: This happens with all projects. Startup Layout.dst attached. @jbg Startup Layout.dst
  2. Primož Gabrijelčič

    Generic Command Line Parser for Delphi 10.3.x

    My approach: https://github.com/gabr42/GpDelphiUnits/blob/master/src/GpCommandLineParser.pas
  3. Primož Gabrijelčič

    IDE Fix Pack 6.4.3 breaks compilation

    Works great! Thank you for a prompt fix! (And thank you for IDEFixPack!)
  4. Primož Gabrijelčič

    IDE Fix Pack 6.4.3 breaks compilation

    I was wrong - it is CodeGenMod.Win32.VirtFinalSealed. When I disable it, the project can be rebuilt again.
  5. Primož Gabrijelčič

    IDE Fix Pack 6.4.3 breaks compilation

    What was the patch that did not get applied in 6.4.2 because of the change in 10.3.2? I'm pretty sure that everything worked fine with 6.4.2.
  6. Primož Gabrijelčič

    IDE Fix Pack 6.4.3 breaks compilation

    IDE Fix Pack 6.4.3 breaks compilation in Rio 10.3.2 for our flagship application. After compile or rebuild, I get [dcc32 Fatal Error] FAB .gRPC . pas ( 265): F2084 Internal Error: AV0D0F16E4(0D080000)-R0000000C-0 Wihout IDE Fix Pack, compilation works fine. Any suggestions?
  7. Primož Gabrijelčič

    redefined anonymous method - bug or my mistake?

    Reported, please vote: https://quality.embarcadero.com/browse/RSP-24827
  8. Primož Gabrijelčič

    redefined anonymous method - bug or my mistake?

    Indeed, a workaround is not a problem. The bug in itself is, though 😞
  9. Hi all, Somehow I think that the following code should compile, but it does not. It looks like the compiler uses the wrong `TCallback` definition when resolving the property. Am I correct or did I miss something and I'm just stupid? program Project184; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils; type TCallback = reference to procedure (value: int64); TRunner = class public type TCallback = reference to procedure; strict private FOnCallback: TCallback; public procedure Run; property OnCallback: TCallback read FOnCallback write FOnCallback; end; procedure TRunner.Run; begin OnCallback(); // <-- E2035 Not enough actual parameters end; begin end. Delphi 10.3.1, in case this is a regression bug.
  10. Primož Gabrijelčič

    Updating UI using Invoke

    Indeed.This is documented.
  11. Primož Gabrijelčič

    Updating UI using Invoke

    Functionally it's about the same. I like the anonymous method approach more because all functionality is concentrated in one space.
  12. Primož Gabrijelčič

    Updating UI using Invoke

    Tricky, got me completely dazzled for a moment 🙂 You are now generating new capture proc for each `I`. That `Proc`, however, is just a pointer. Now your code `Task.Invoke(procedure begin Proc(); end);` captures this `Proc` by value and executes the last stored value three times. You should do it like this: function CaptureValue(Value: Integer): TOmniTaskInvokeFunction; begin Result := procedure begin Memo.Lines.add(Value.ToString); end; end; for I := 0 to 2 do begin Task.Invoke(CaptureValue(i)); end;
  13. Primož Gabrijelčič

    Updating UI using Invoke

    Reproducible test case, please ...
  14. Primož Gabrijelčič

    ANN: Parnassus Bookmarks and Navigator will be included in the next release of RAD Studio

    I think this is Delphi problem, not Parnassus. It also happens when I right-click a breakpoint or right-click in the editor.
  15. Primož Gabrijelčič

    Using Parameters with Async/Await.

    Indeed it is.
×