Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 04/12/25 in Posts

  1. GabrielMoraru

    Converting simple VCL form to FMX

    Update I did a massive re-haul of the code. Now works much much better and it recognizes way more VCL components.
  2. Set the component ResponseNoException property to true, and the exceptions are replaced by messages. This is a historical thing to not break old applications, but should probably default to true now. Angus
  3. Lars Fosdal

    Creating an app to play Youtube videos

    You can reserve a video against embedding, so that might be a factor?
  4. Remy Lebeau

    OpenSSL version questions...

    Indy in general (not just TIdSMTP specifically) indeed natively supports only up to OpenSSL 1.0.2, not OpenSSL 1.1.x and later. This is a LONG standing problem with no resolution in Indy itself at this time. But, there are a few 3rd party implementations available that add support for those versions, such as TaurusTLS: https://github.com/JPeterMugaas/TaurusTLS
  5. Oleksandr Skliar

    function declarations without ; at the end

    Continuing with the "funny" compiler "errors": 1. Optional semicolon (for global and nested proc declarations only!!!) if you have any of these specifiers (platform, deprecated, assembler, register, stdcall... etc): But semicolon is required if this is a const/var/type/method 2. Crazy mixing of these specifiers (you can mix all these specifiers as you want): 3. Crazy mixing of "platform" specifier for global variable declaration: I suppose there are much more similar "bugs", I see it on 11.3 and 12.3, and believe emba will never fix it, their favorite answer - don't do like this! 😄
  6. Remy Lebeau

    function declarations without ; at the end

    That is not a bug, but a feature of the Pascal language. More formally, inside a block ('begin..end' or 'repeat..until'), a semicolon is a statement separator, not a statement terminator, unlike with other languages. The last statement in a block is never terminated by a semicolon. If you write a semicolon, then the last statement will be an "empty" statement. Another quirk of Pascal requires a semicolon to be omitted when an 'if..else' is inside of a 'case of..else' to avoid ambiguity over which statement the 'else' belongs to: https://stackoverflow.com/questions/7574603/why-do-single-statement-blocks-require-not-using-semi-colons
  7. Uwe Raabe

    function declarations without ; at the end

    Wrong! According to N.Wirth (Pascal User Manual and Report page 149) there is an Empty Statement:
  8. GabrielMoraru

    Converting simple VCL form to FMX

    I have a review of the the existing convertors, including the AI here: https://gabrielmoraru.com/converting-vcl-code-to-fmx/
×