Jump to content

Leaderboard


Popular Content

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

  1. Hi everyone, I would like to share with you that my new book has reached the production stage and will be available in September by Apress. The book is about Object Relational Mapping in Delphi and explores TMS Aurelius-- and excellent ORM solution for Delphi developers. I would, also, like to cordially thank Wagner Landgraf and Nick Hodges who were the tech reviewers of the manuscripts. Nick (who does not need any introductions) always shares his deep experience and has been very supportive while I was writing this book. Wagner (the creator of TMS Aurelius) has been guiding me with his expertise and suggestions to produce a presentation of Aurelius based on real-life situations. Thank you both. I hope you enjoy the book and I am looking forward for your feedback. Regards, John
  2. For those of us that depend/rely on IDE Fix Pack. I have not upgraded to Rio update 2 because IDE Fix Pack is not available for it yet. This thread mentions a workaround, but it involves disabling a couple of patches. Anyhow, Russell Weetch (@urbancohort) suggested on Twitter that Andy should be granted a lifetime subscription for Delphi. It seems he does not have access to the latest releases. So I went ahead and opened a support case at Embarcadero asking for this: https://quality.embarcadero.com/browse/RSP-24928?filter=-2 So please vote for this issue, if you are a IDE Fix Pack user.
  3. David Heffernan

    The Android 64bit deadline warnings have started

    64 bit Windows compiler that generates efficient code
  4. David Heffernan

    The Android 64bit deadline warnings have started

    Perhaps this comes down to perception, and the type of work involved, and the other attractions of the company, but personally I hire programmers. If they don't know a specific language when they arrive, we teach them that language. I don't really buy in to the idea that there are Java programmers and C# programmers and Python programmers and so on. In my mind there are just programmers.
  5. Mohammed Nasman

    Book: Introducing Delphi ORM using TMS Aurelius

    Great job, I'm very interested in the Book. Documentations for Delphi's ORM keep me away of them.
  6. Uwe Raabe

    MMX 15 (Beta) Available

    I can see this here, too. As it is only a performance problem I moved it behind the functional problems in the priority list. When its running stable I can make it faster.
  7. Sherlock

    Restart the same App?

    @Ian Branch Just drop it here https://en.delphipraxis.net/forum/16-i-made-this/ and maybe reference this thread and add some words of clarification.
  8. Ian Branch

    Restart the same App?

    Hi Tee, It does work well and I have integrated it into 3 Apps. I haven't checked it for memory leaks or anything under the hood. It does what I needed. As for publishing to GitHub, I'm afraid that's not in my knowledge base. :-( Regards, Ian
  9. Uwe Raabe

    MMX 15 (Beta) Available

    A new Beta V15.0.0.2343 is available. Make sure to remove a previous V15 beta before installing build 2343 or higher. The new installer is most likely incompatible with the old one
  10. @Remy Lebeau It was a simplified snippet to highlight the problem. In my code I tried to use a repeat-until statement instead of a label and a goto statement. This statement is intended to direct an execution back to the top of code block in a special case. Now I add a control variable to bypass the check. repeat var DoRepeat := False; ... if ... then begin ... if ... then begin DoRepeat := True; Continue; end; ... end; ... until not DoRepeat;
  11. Remy Lebeau

    Restart the same App?

    That is what I get for not checking Delphi's pascal declarations before posting code examples.
  12. Very good news: https://community.idera.com/developer-tools/b/blog/posts/google-play-store-android-32-bit-extension-for-delphi-and-c-builder-customers
  13. Uwe Raabe

    Using Continue in repeat statement

    Continue is supposed to jump to the end of the current loop (re-evaluating the condition) and not to the beginning. Thus the until statement is evaluated which in this case ends the loop. So, yes, it is the way it should be.
  14. David Heffernan

    The Android 64bit deadline warnings have started

    If the bulk of the codebase feels that they aren't getting value for money, they will stop paying. Which hurts you. Of course. You'd better hope that majority VCL customers keep paying. People have been declaring Windows dead for as long as they have been declaring Delphi dead. Making new delphi developers is easy. You just train your staff. They've been trying this for a long time now and the numbers aren't great.
  15. Kryvich

    Delphi 10.3 Update 2 available

    On my computer IDE Fix Pack showed 2 errors: And this: So for me it was needed to disable two patches: Variable name: IDEFixPack.DisabledPatches Variable Value: "CodeGenMod.Win32.FastFuncProlog";"VCL.Styles.StyleUtils" After this the messages are gone.
  16. Markus Kinzler

    Delphi 10.3 Update 2 available

    This must be fixed by embt!
  17. Sherlock

    Delphi 10.3 Update 2 available

    Yeah, just did that successfully. Or rather I had to delete it and reactivate it. Just updating it was not enough.
  18. Remy Lebeau

    Restart the same App?

    You definitely don't want to use those kind of functions in this situation. You don't need that. A process knows its own ID, you can query it directly. You need something like this: uses ..., Windows; function RestartApp: Boolean; var si: STARTUPINFO; pi: PROCESS_INFORMATION; CmdLine: string; begin CmdLine := Format('"%s" /pid:%d', [ParamStr(0), GetCurrentProcessID()]); ZeroMemory(@si, sizeof(si)); GetStartupInfo(@si); Result := CreateProcess(nil, PChar(CmdLine), nil, nil, False, 0, nil, nil, si, pi); if Result then begin CloseHandle(pi.hThread); CloseHandle(pi.hProcess); Application.Terminate; end; end; Then in your app's startup code, such as in your main DPR file, you can do this before initializing your UI or anything else: uses ..., Windows; var pid: string; h: THandle; begin if FindCmdLineSwitch('pid', pid) then begin h := OpenProcess(SYNCHRONIZE, FALSE, StrToInt(pid)); if h <> 0 then begin WaitForSingleObject(h, INFINITE); CloseHandle(h); end; end; ... continue starting up normally ... end;
  19. jbg

    IDE Fix pack for Rio

    Here is a mp4 screen recording that shows the "DLL becomes EXE" bug without an installed IDE Fix Pack. DelphiOptionsetDllToExeBug.mp4
  20. It is easy to say, my example: three Delphi guys remained, rest of the two teams are using mostly Microsoft tech-stack, and they are not interested in Delphi projects, so you may ask politely, but they can refuse, or if you try to force them, they will quit, after all, it is very easy to find C#, Java, JavaScript jobs while Delphi is non-existence on the market... and now we are building Dart team to get rid of Delphi... .
  21. ŁukaszDe

    Delphi 10.3 Update 2 available

    I don't know how was after clear installation... probably good. After installation I added: IdeFixPack, DDevExtensions, CnPack last nighty build and TortoiseSVN Add-In for Delphi. One of these additions has broken the icons. After uninstall all additions I have not icons in menu. Now I try reinstall Delphi but... again all servers embarcadero are down. Of course, I first uninstalled delphi...
  22. The Idera idea is, that this model will be more efficient. Here this interview with Atanas Popov: (german only) https://www.heise.de/developer/meldung/Embarcadero-Delphi-ist-fuer-uns-ein-Kernprodukt-3252501.html After 2 years, everyone can see now, how it worked
  23. David Heffernan

    The Android 64bit deadline warnings have started

    Sadly, I've not seen much that gives me cause for optimism.
  24. If you look at the result of the "new" nextgen compiler for Linux64, ARM64 and macOS64, The codegen of the compilers are getting more worse rather than better. I would assume, that such a goal is far beyond the possibilities of Emba current team.
×