Jump to content

FredS

Members
  • Content Count

    408
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by FredS


  1. 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.

     


  2. 6 hours ago, Stefan Glienke said:

    registry does not by default

     

    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.


  3. 4 hours ago, miab said:

    GetIt enforces its own installation logic

     

    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.

     


  4. 48 minutes ago, Mahdi Safsafi said:

    usually I ignore it

    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..


  5. 40 minutes ago, timfrost said:

    neither option was effective

     

    9 hours ago, Achim Kalwa said:
    • In the "User System Overrides" add a new Variable "IDEFixPack.DisabledPatches" (without the quotes)
    • For the value, enter "CodeGenMod.Win32.FastFuncProlog" (with the quotes) 

     

    Always best to ignore the pretty pictures and use the instructions instead 🙂

    BTW: I used that twice now and it works.


  6. 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

  7. 1 hour ago, dummzeuch said:

    It creates a race condition

    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.

    1. Get a Temp filename from the OS
    2. Write some data to it
    3. Execute another app waiting for it to complete
    4. Read any Error code it may have added to the file
    5. 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.


  8. 6 hours ago, Der schöne Günther said:

    Delphi 10.0 Seattle

    Funny I still have a reg file from when I used Seattle:

    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\17.0\Form Design]
    "Show NonVisual Components"="True"

    Since it was never changed to include Berlin that must have been fixed.

    • Like 1

  9. 18 hours ago, Mike Margerum said:

    I pay for the subscription

     

    If someone is only using Win32 and looks at the last releases there is no point in paying for a subscription that ends up adding more bugs at every turn.
    My guess is that EMBT found that out and are now turning to 'rentalware'.

     

    The 'bump' thing simply delays and staggers 'complainers', eventually you simply won't be able to move Delphi to a new computer unless you subsidize the worst subscription mechanism I've seen (lately). Nothing like getting an email 4-6 months ahead of time padded with useless extras..

     

    Your mileage may vary..

    • Like 2

  10. Using Berlin 10.1.2 I ran into two 'Access violations' while trying to generate a new hive:

    bds.exe -rNewHive

    Turns out this was due to the MidexExpert in HKLM:

    [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Embarcadero\BDS\18.0\Experts]
    "MidexExpert"="d:\\Tools\\MMX\\14\\mmx_bds18.dll"

    To be honest that was actually still an MMX 13 entry even though 14 is installed. Perhaps it should have been removed?
    Deleting it made all work well, except no MMX..

     

    Access violation at address 204F6A89 in module 'coreide240.bpl'. Read of address 0000003D.
    Access violation at address 205FC27A in module 'coreide240.bpl'. Read of address 00000000.

    Will fire off and email to: support@mmx-delphi.de

×