Jump to content

Lars Fosdal

Administrators
  • Content Count

    3466
  • Joined

  • Last visited

  • Days Won

    114

Lars Fosdal last won the day on February 25

Lars Fosdal had the most liked content!

Community Reputation

1829 Excellent

Technical Information

  • Delphi-Version
    Delphi 12 Athens

Recent Profile Visitors

28657 profile views
  1. Lars Fosdal

    IBX is Crashing Application on Windows XP / Server 2003

    Leading question - so.... what would you check next, Mike?
  2. Lars Fosdal

    function declarations without ; at the end

    I see the same in the D12.3 source, but no errors show in the IDE. I copied the source to another unit and compiled it and it doesn't care about semi-colons for external function declarations - not even for those with the delayed keyword. Bug or feature? I don't know, but it certainly is not consistent with the rest of the language.
  3. Lars Fosdal

    FireDAC

    SQL has always been for the Enterprise tier and up. In 12.3, support for SQL Server 2022 has been added.
  4. Lars Fosdal

    Alternatives for SQL Anywhere

    TBH, I prefer C# for Azure functions.
  5. Lars Fosdal

    Delphi 12.3 is available

    Personally, I'd favour work that improves debugging - both in 32- and 64-bit. That said, even an incomplete 64-bit IDE is a step forward, and I am excited to see what can be achieved with the new compiler as it matures.
  6. Lars Fosdal

    Alternatives for SQL Anywhere

    Is there a limit on usage at that price? Can a DB there be accessed from multiple concurrent instances of your app?
  7. Lars Fosdal

    Delphi 12.3 is available

    Were the crashes related to missing components?
  8. Lars Fosdal

    12.3 or 13/14 as next?

    There is a road-poster. It says "You are here".
  9. There are numerous posts on StackOverflow on this topic, most asking why it is not working as expected 😛 Would it be an alternative to open the excel file in excel and use COM to extract the data from Delphi code?
  10. @A.M. Hoornweg Passing the exception type and callstack info from the server would be useful for making an educated handling in the client, but I don't see why raising an exception in the client would be helpful. The callstack from the server side exception won't be the same as the callstack from an exception raised in the client,. It all depends on the client-side context, of course, so sometimes an exception may be acceptable, but frankly; I prefer to not raise an exception if I can handle a problem flow in a better way.
  11. It isn't worse than your response having result codes that indicate success + data, or failure + type of failure, and your client responding to these the way you want it to. F.x Client -> Server, send me all the details on <some reference> <- Server: dude, that was a bad reference - I almost crashed! Client: Well, server didn't like that, so I better tell the user that the server couldn't find his shit and that the request upset the server.
  12. Lars Fosdal

    F2084 Internal Error in Delphi compiler

    Why would one declare an empty record?
  13. Firstly, you need to know the nature of the exception. Do you use EurekaLog or MadExcept? If not, you are blind to the actual cause of the exceptions. Do you know what your code is doing when it stops processing requests or why it stops? Once you know what goes wrong, add checks to avoid execution when you have invalid data. It may be useful to have a try/except block to set return values that indicate a failure, instead of exiting by exception, but it is rarely useful to have "catch all" blocks simply to silence exceptions. Secure each piece of code that runs in a thread and uses shared resources with try/finally so that any resource you allocate can be returned to the shared pool, and any locks you grab can be unlocked.
  14. Lars Fosdal

    Using external chemistry libraries with Delphi

    Wrappers for Java/C/C++/C# are not trivial, depending on the complexity of structures and formats. Python might be an alternative - have a look in https://en.delphipraxis.net/forum/39-python4delphi/
  15. Lars Fosdal

    Delphi Apps on GooglePlay

    https://docwiki.embarcadero.com/RADStudio/Athens/en/Using_the_Google_Play_In-app_Billing_Service
×