Jump to content

FredS

Members
  • Content Count

    121
  • Joined

  • Last visited

Everything posted by FredS

  1. Not sure how this fits with:
  2. FredS

    August 2019 Roadmap released

    OK, but there is that 'other' stuff, you know 'GetIt' the flagship library management system down for nearly a month now.. well I don't want rub salt in it but at some point some bean counter will ask why the shop using C++Builder can't build an Android app...
  3. FredS

    August 2019 Roadmap released

    "Kick the can" comes to mind..
  4. Today was my first attempt to actually use these, but that ended once I placed a Breakpoint on one. Perhaps not news to others.. program Project1; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils; {$INLINE OFF} function NewBytes:TBytes; begin SetLength(Result, 10); end; begin try /// <summary> /// F9 from the Breakpoint will repeat 3 times, once for each Inline Variable /// Uncomment the others to prove my point /// </summary> /// <remarks> /// You can also try F7 or F8 /// </remarks> var Eins := NewBytes; // << Breakpoint var Zwei := NewBytes; var Drei := NewBytes; // var NochEins := NewBytes; // var NochZwei := NewBytes; // var NochDrei := NewBytes; writeln('Something Happened!'); except on E: Exception do Writeln(E.ClassName, ': ', E.Message); end; end.
  5. Project1.dpr.25: var Eins := NewBytes; // Put a Breakpoint 0041E5AD 33C0 xor eax,eax 0041E5AF A3DC684200 mov [$004268dc],eax 0041E5B4 33C0 xor eax,eax 0041E5B6 55 push ebp 0041E5B7 68BEE64100 push $0041e6be 0041E5BC 64FF30 push dword ptr fs:[eax] 0041E5BF 648920 mov fs:[eax],esp
  6. The inline variable is initialized by the return value of the function. Now if they function is in another unit how do you debug it?
  7. F9 stops at the line with the breakpoint as many times as there are inline variable declarations.
  8. from: https://docs.microsoft.com/en-us/windows/win32/sysinfo/predefined-keys All registry entries in HKEY_CURRENT_USER except those under HKEY_CURRENT_USER\Software\Classes are included in the per-user registry portion of a roaming user profile. To exclude other entries from a roaming user profile, store them in HKEY_CURRENT_USER_LOCAL_SETTINGS.
  9. If you pause at the License stage then in most cases the setup has been downloaded and or information exists pointing back to the GitHub source of the files. I was able to install Codesite Express from a previous 10.3.1 install even after GetIt was down. BTW: For Github sourced stuff I never finish the installation, I don't like source files added to my paths by the default installer when the IDE itself has been shown to choke on all that during Code Insight parsing.. I also don't need a separate copy of Abbrevia for each and every Delphi version.
  10. Not happening here, just the 10.3 painting Schizophrenia..
  11. Design or not, its down 10 days now..
  12. FredS

    EmptyString constant

    Agree, once you are actually reading a line it makes no difference but scanning blocks of code with Emptystr is var easier. Your mileage may vary..
  13. FredS

    EmptyString constant

    I use the system defined 'EmptyStr' and find it easier to scan over lines with it..
  14. FredS

    Delphi 10.3 Update 2 available

    I've set this up following your instructions on both a Windows 7 VM and a Windows 10 machine with IDE fix 6.4.2: On both it works!
  15. FredS

    Delphi 10.3 Update 2 available

    Always best to ignore the pretty pictures and use the instructions instead 🙂 BTW: I used that twice now and it works.
  16. FredS

    Delphi 10.3 Update 2 available

    Maybe if Andy made 'skins' instead of compiler fixes there would be a free version in it for him 🙂
  17. FredS

    Delphi 10.3 Update 2 available

    Did that, still occurs. But honestly I like to run without the Fix Pack for a while to see where we stand, and without doing an actual speed test I'd say 10.3.2 compiles slower than 10.3.1.
  18. FredS

    Delphi 10.3 Update 2 available

    I did by sending a bug report.
  19. FredS

    Delphi 10.3 Update 2 available

    First impressions (Feature Installer): Make a registry backup, it wiped out paths again Breaks 'Documentation Insight', reinstalling that did not solve the problem IDE Fix Pack throws an error so the compiler was changed, however compiling without appears as if its much slower than 10.3.1
  20. FredS

    Delphi 10.3 Update 2 available

    Yes, because unlike the ISO you can use Tools>Manage Platforms to add/remove 'Features'
  21. Sounds like an 'Awesome' feature while entering financial data into a spreadsheet
  22. Yes, that is what I used but it doesn't take care of the screen saver. Thanks to this blog post I updated to use PowerCfg when (OS>=Win7).
  23. FredS

    Passing back a string from an external program

    OK, getting a temp filename from the OS solves that.
  24. FredS

    Passing back a string from an external program

    I don't understand the 'race condition'? I mean you are doing the most basic of all communications, execute an app, wait for it to exit and read the output file. In one form or another we do this every day 🙂 But since you are fishing for experience, I use this as part of a self updating feature. Get a Temp filename from the OS Write some data to it Execute another app waiting for it to complete Read any Error code it may have added to the file Delete the file Other than the New feature where a user can add the Temp folder to the 'Controlled Folder Access' Ransomware Protection this is as basic as it gets.
  25. History will show that not firing him was the worst move by EMBT after this total betrayal of loyal customers..
×