Jump to content

Achim Kalwa

Members
  • Content Count

    64
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Achim Kalwa


  1. Hello Peter,

     

    yes, the downloaded update/patch needs to be installed manually. Close the IDE and doubleclick "patch2.bat". This will trigger the User Account Control (UAC) to give the patch app admin credentials. It will open a black console window, with quickly scrolling messages from the patch progress.

     

    I've installed that patch a few days ago; and I can confirm that

    - no information about the patch is in the About dialog.

    - the Access Violation in the LicenseManager.exe is fixed.

     

    You can verify if the patch was installed successfully by checking the timestamp of some files in the "C:\Program Files (x86)\Embarcadero\Studio\21.0\bin" folder; it should be 2020-07-15 (using ISO date format):

    - LicenseManager.exe:

    - dcc32.exe

    - getit270.bpl

     

    If the files are still older (e.g. 2020-05-16), the patch has NOT been installed. Just try again 🙂

     

    • Like 1

  2. 57 minutes ago, Mike Torrettinni said:

    I'm trying to generalize my method to remove formatting tokens from the string, and just want to be sure that I handle all cases.

    So, the questions is: besides the d, e, f, g, m, n, p, s, u, x are there other possible options in Format (SysUtils) function?

     

    I have this method and would like to make sure it covers all options:

     

    
    function RemoveFormatSettingsFromString(const aString: string): string;
    const
      cReplacements: array [1..10] of string =
        ('%s ', '%d ', '%e ', '%f ', '%g ', '%m ', '%n ', '%p ', '%u ', '%x ');

    That is just a simple start. There might be indexes, width and precision informations, like 'Total amount: %1.2f'. You will need much more parsing. Perhaps some RegEx filtering.

     


  3. 17 hours ago, FredS said:
    • IDE Fix Pack throws an error so the compiler was changed, however compiling without appears as if its much slower than 10.3.1 

    You can remove the error message by disabling the problematic fix:

    • Tools -> Options -> IDE -> Environment Variables
    • In the "User System Overrides" add a new Variable "IDEFixPack.DisabledPatches" (without the quotes)
    • For the value, enter "CodeGenMod.Win32.FastFuncProlog" (with the quotes)
    • Save and restart the IDE

    Remember to remove this entry if a new IDEFixpack version is installed 🙂

    IdeFixPack Tweak.png

    • Like 1
    • Thanks 2

  4. Hello Ian,

    Just a shot in the dark:

    Disable "TrackingSystem250.bpl" from the "Known IDE Packages":

    Close the Delhi IDE, run Regedit.exe and navigate to "HKEY_CURRENT_USER\Software\Embarcadero\BDS\19.0\Known IDE Packages".

    Find the entry named "$(BDS)\Bin\TrackingSystem250.bpl", and change the value (not the name!) to start with an underscore _ char.

    Close Regedit and try again with your project.

    HTH

    Achim


  5. Delphi 10.3.1 Enterprise with IDE Fixpack 6.4.2, DDevExtensions 2.85, GExperts 1.3.13.77, Bookmarks 1.6, Navigator 1.6, JCL, JVCL, ...

     

    When shutting down the 2nd instance of bds.exe, there is an access violation:

    Project bds.exe raised exception class $C0000005 with message 'access violation at 0x50067e88: read of address 0x122e72dc'.

    But after that bds.exe exits normal.

     

    • Thanks 1

  6. Did you had success in contacting Lars Dybdal?

    I'm using gnugettext.pas and the dxGetText shell extensions a lot (Extract translation to template, Merge template). Depending on the some config options, several GetText-tools spawn other tools like ggMerge.exe calling msgremove.exe, but using "bash.exe" as environment, which requires cygwin.dll to run on windows. I guess when porting GetText to Windows, the need for bash.exe was ported, too. However, I don't see a reason why bash.exe needs to be called at all. Using cmd.exe (from comspec environment variable) or plain CreateProcess() can give the same results.

     

    A very useful option in xgettext.pas to *not* include lines numbers (very helpful when storing po/pot in version control) in the po-file is not available in the configuration dialog.

    And why does extracting translations from source create a .po file instead of a .pot file? In my local fork I've addressed some of this issues and more, i.e. ignore component captions if they are the same as the component name like Label1=Label1, Button5=Button5, Action1=Action1, respecting Windows fonts, removed XPMan.pas use Delphi's manifest, etc.

     

    Thomas, do you have write access to the dxGetText project on sourceforge? I would like to send you some patches then.

     

    Achim

×