Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 04/04/24 in Posts

  1. David Heffernan

    Do you need an ARM64 compiler for Windows?

    I think all in all, it's clear that the current in-process design is the right one
  2. Uwe Raabe

    Simpel types

    One option would be to add some operator overloading to TProductID: type TProductID = record ID: nativeint; public class operator Explicit(A: TProductID): NativeInt; overload; class operator Implicit(A: NativeInt): TProductID; overload; class operator Implicit(A: TProductID): string; overload; end; class operator TProductID.Explicit(A: TProductID): NativeInt; begin Result := A.ID; end; class operator TProductID.Implicit(A: NativeInt): TProductID; begin Result.ID := A; end; class operator TProductID.Implicit(A: TProductID): string; begin Result := A.ID.ToString; end; This allows to write something like this: var cid : TCustomerID; var pid: TProductID; pid := qryGetStockProductID.AsInteger; cid := qryGetStocCustID.AsInteger; --- procedure TForm6.AddToStock(pid: TProductID; cnt: nativeint); // Both uses internally nativeint begin ShowMessage(pid); end; Note that the operator to convert TProductID to NativeInt is Explicit instead of Implicit. That prohibits the use of TProductID as a NativeInt parameter and the compiler throws an error when the parameters to AddToStock are given in the wrong order.
  3. ŁukaszDe

    Delphi 12.1 is available

    Links to Web installer and ISO are available in https://my.embarcadero.com
  4. Dave Nottage

    working with iOS island

    Same thing happened to me re Ios Island 🙂 Following the live activities link leads to: https://developer.apple.com/documentation/ActivityKit/displaying-live-data-with-live-activities Which talks about using Widget Extensions, which are yet to be possible in Delphi, however there's a slim chance that the extension can "talk" to Delphi code: https://blog.grijjy.com/2018/11/15/ios-and-macos-app-extensions-with-delphi/ I have very little optimism about the possibility
  5. I've been waiting for this miracle for a while ! I just read an interesting post about it on Dalija's web site for those interested https://dalijap.blogspot.com/2024/04/delphi-121-new-quality-portal-released.html
  6. Anders Melander

    Delphi 12.1 is available

    Yes, I fear it will. While I haven't used it yet and there's presently nothing there, I'm really afraid this just wiped out yet another small community. Tick tock, tick tock.
  7. dwrbudr

    Real time desktop colors change like filters

    You could try https://www.imageen.com/
  8. Uwe Raabe

    D5 data file misread in XE program

    The compiler setting can be overwritten in code by the {$A and {$ALIGN compiler directive. To avoid irritations it might be better to place an {$A4} directly in front of the record declaration. BTW, I was able to read the file correctly with the declaration shown above with Delphi 12.
  9. Brandon Staggs

    C Libraries to Delphi

    In case you can't find someone who wants to do this for you, here is a good starting point on learning to do it yourself: http://www.rvelthuis.de/articles/articles-dlls.html http://www.rvelthuis.de/articles/articles-convert.html
  10. Uwe Raabe

    Delphi 12.1 is available

    It is OK. The long name is Delphi 12 Update 1.
  11. Angus Robertson

    Delphi 12.1 is available

    The D12.1 ISO I downloaded is 7.23GB. There is a typo on the download page, Angus
  12. Lajos Juhász

    Delphi 12.1 is available

    The page is wrong. I am downloading it and it is 7.2GB.
  13. shineworld

    Do you need an ARM64 compiler for Windows?

    In my case would be amazing to have a valid Delphi compiler for ARM64 Linux + FMX. A lot is moving in the embedded world based on ARM architectures + Linux and I've also tried FPC + Lazarus (a nightmare...). Dreams are dreams 🙂
  14. Vandrovnik

    Do you need an ARM64 compiler for Windows?

    I hope they keep it the way it is - can you imagine how many broken versions we would have to suffer if they now moved .bpls to another process? 🙂
  15. Ali Dehban

    ChatGPT plug-in for RAD Studio.

    The wrong warning is fixed now. @Die Holländer GitHub and release has been updated. If you prefer to follow it here it's ok but it would be easier for me to follow everything in one place, GitHub. If possible, please open an issue on GitHub in the future.
  16. Rollo62

    Delphi 11.3 with Android SDK 33

    Yes, you can safely ignore them ( until Google decides to enforce this probably in the future ). I considered that too, but I'm afraid these warning will be hard to remove, because they require certain Android tools, like ProGuard. Not sure if this will be ever included in the Delphi process. One idea, at least for the first warning, was to add a neutral or empty "manifest.txt" file. This might work technically, but on the other hand, the Google Review might see this as an attempt to circumvent or infringe their PlayStore policies, which might put you in bigger troubles. My hope is, that Embarcadero put this onto their roadmap.
  17. Dave Nottage

    Delphi 11.3 with Android SDK 33

    Correct - I have reported this nearly 2 years ago: https://quality.embarcadero.com/browse/RSP-38976
  18. Easy, and wrong. You are reading the station weathers reference data with one row per station. And making a min/max/average of a single data per station. The challenge is to read a 1 billion (1,000,000,000) rows of CSV data for all those 41343 stations, and compute it. There is a generator of a 16GB CSV file to inject and process. So 0.33s for 41343 rows would make around 8000 seconds, i.e. 5.5 days.
×