Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 03/24/24 in all areas

  1. Delphi/pascal file in IntelliJ IDEA and Copilot suggestions. With I-Pascal plugin for IntelliJ (available for versions before 2022.1) - https://plugins.jetbrains.com/plugin/7340-i-pascal In the editor on the left side - suggested auto-complete On the right side - copilot panel with multiple suggestions Without hint With hint (the comment on the first line)
  2. JonRobertson

    Taskbar Icon Menu.

    Search for JumpList.TJumpList. Here are a few links to get you started. https://docwiki.embarcadero.com/RADStudio/Athens/en/VCL_Taskbars https://docwiki.embarcadero.com/Libraries/Athens/en/Vcl.JumpList.TCustomJumpList.AddTask https://blog.marcocantu.com/blog/2014-september-vcl-xe7-taskbar-jumplist.html https://perevoznyk.wordpress.com/2011/05/25/adding-windows-7-jump-list-to-a-delphi-2010-application/
  3. Clearly a nil pointer is being accessed, but there is not enough information to diagnose where exactly. Is it happening in your own code (the most obviously candidate is the ALVideoPlayerSurface1.VideoPlayer property being nil), or is it happening inside the Alcinoe library?
  4. Remy Lebeau

    Using IdHTTP

    Yes - use TIdHTTP.Head() instead of TIdHTTP.Get(). A HEAD request is identical to a GET request except that no body data is sent, but the response headers will be the same. A HEAD response will include the 'Content-Length' header, so yes, you can determine the file's size without actually downloading the file. However, if you are going to download the file anyway then there is really no point in checking for its existence beforehand, just download the file and handle whatever error may arise, such as HTTP 404 when the file does not exist.
×