Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 10/17/24 in Posts

  1. Uwe Raabe

    creating a frame at runtime

    It is even possible at design time. Setting an empty name to a component will remove the corresponding field in the class. It is often used with TLabel instances that only exist to display some static text, but won't be accessed in the code. It reduces code cluttering a bit.
  2. Arnaud Bouchez

    ANN: mORMot 2.3 Stable Release

    This was time for a new "stable" release of the Open Source mORMot 2 framework! You can find it on our GitHub repository: https://github.com/synopse/mORMot2/releases/tag/2.3.stable 🙂 This release will be a Long Term Support Security Branch, as we will maintain it for the next years for main bugs and security fixes. Added - Swagger/OpenAPI Client Generator - IDocList/IDocDict Containers - SID/DACL/SACL/SDDL/ACE Security Objects - async web server: IOCP support on Windows, metrics gathering and standard logging - TSynMustache can work on plain data via RTTI, in addition to TDocVariant - introducing TRttiMap for DTO process. Changed - Upgraded SQLite3 to 3.46.1 - Enhancements to the LDAP client, HTTP/HTTPS client, Kerberos auth, Peer Cache, ORM. - Lots other bug fixes, optimisations and enhancements. More information on our blog: https://blog.synopse.info/?post/2024/10/16/Release-of-mORMot-2.3-Stable
  3. Remy Lebeau

    Delphi 12.2 Patch 1

    https://blogs.embarcadero.com/rad-studio-12-2-athens-inline-patch-1-available/
  4. havrlisan

    creating a frame at runtime

    Or to an empty string. It's the safest and easiest way, in my opinion.
  5. David Heffernan

    Delphi TOIOBE index lifted in May 2022?

    Same as always. Numerical programming. And when there exists huge amounts of code in a language, it can be hard to leave. A phenomenon well known to us Delphi programmers!
  6. Remy Lebeau

    Simulate blocking mode to send Email

    WaitForMultipleObjectsEx() allows you to stop waiting if an I/O completion routine or APC is executed on the calling thread. That has nothing to do with message processing. You are thinking of MsgWaitForMultipleObjects() instead.
  7. Remy Lebeau

    Simulate blocking mode to send Email

    A more efficient approach would be to wait on both your EventSignal and the RTL's Classes.SyncEvent at the same time, calling CheckSynchronize() only when SyncEvent is signaled (ie, when there are sync requests pending). This way, when neither condition is true, your calling thread can actually go to sleep instead of running a busy loop. For example: uses ..., Classes, Windows; var Handles: array[0..1] of THandle; begin ... // Simulate blocking Handles[0] := oOutLook.EventSignal.Handle; Handles[1] := Classes.SyncEvent; repeat case Windows.WaitForMultipleObjects(2, @Handles[0], False, Infinite) of WAIT_OBJECT_0: Break; WAIT_OBJECT_0 + 1: CheckSynchronize; else RaiseLastOSError; until False; ... end;
  8. mvanrijnen

    creating a frame at runtime

    In that case, the text is not static 😉
  9. Der schöne Günther

    creating a frame at runtime

    Didn't even know that was possible. Thanks.
  10. Dalija Prasnikar

    Simulate blocking mode to send Email

    CheckSynchronize must be called from main thread, just like Application.ProcessMessages. If the issue is that background thread is calling TThread.Synchronize or Tthread.Queue, then CheckSynchronize must work. If it doesn't work then the problem is in something else. I don't use FNC components so I cannot say what the actual issue is.
  11. FreeDelphiPascal

    Delphi TOIOBE index lifted in May 2022?

    As I said before, Tiobe is very unreliable. And as a "bonus" the people are Tiobe (which are C++ people) hate Delphi. Not "generally" speaking, but particularly speaking. So, there is no reason to like or to trust Tiobe. 🙂 BUT it is important for us (Delphi devs) because now it will create some hype around Delphi. By entering top 10, people will start discussing around Delphi.
  12. Start with the Unicode section of Embarcadero's Migration and Upgrade Center. Note that AnsiString and all of the other things you mentioned still exist. You just need to be aware of how they interact with Unicode strings if you don't want to completely rewrite your code.
  13. Christophe E.

    ANN : TECNativeMap 5.5

    TECNativeMap is a 100% Delphi mapping component that uses neither browser nor javascript, and is available on all Delphi-supported platforms. Compatible since Delphi 7 for VCL and XE3 for Firemonkey. The main new features of this version MBTiles support with FireDAC (SQLite database for storing map tiles in a single file) 3 new Components ( SwitchTileServer, OpenWeather , Mapillary ) Beginning of support for MapLibre ( MapBox ) vector tiles ( it's still in the prototype stage, and is slow and incomplete ) You can download a trial version for Delphi 12
  14. Anders Melander

    Delphi developer needed in Denmark

    You might get better exposure if you post your job listing on jobindex; Linkedin is a bit of a self-gloryfying BS echo-chamber so I doubt most developers follow what goes on there.
  15. Remy Lebeau

    Create an animated gif from a set of bitmaps?

    TGIFImage is a VCL class, AFAIK it is not available in FMX. Also, as I don't use FMX myself, my claim about its lack of support for animated GIFs is mainly based on the below post, which presents some 3rd party solutions for displaying animated GIFs in an FMX UI: https://stackoverflow.com/questions/45285599/how-to-use-animated-gif-in-firemonkey For displaying a series of bitmaps in a UI, one can use TBitmapListAnimation, but I don't know if that can also be used to create a GIF. Embarcadero's documentation only mentions that FMX's TBitmap supports GIF on all platforms except iOS, but doesn't mention what kinds of GIFs are supported.
×