Jump to content

Nigel Thomas

Members
  • Content Count

    102
  • Joined

  • Last visited

Everything posted by Nigel Thomas

  1. Nigel Thomas

    Update an application automatically

    My Updater process does the same thing - rename the original (running) instance to app.exe.old, copy (or download) the new instance as app.exe. The original instance continues running - as app.exe.old - until terminated. When the update process is completed and the original instance is terminated, it is only at this time that the original instance, app.exe.old, can be deleted, so I run a clean-up routine on the next program launch to remove any .old files. I seem to recall that this operation wasn't so reliable on XP, but it's some time since I tested it on that OS. I can confirm it works fine on 7 and above.
  2. Nigel Thomas

    Current subscription required to download ?

    I reached out to Support to indicate I wasn't able to download the Berlin ISO or Web Installer, providing the above information and error messages. I received - in just a few hours - the direct altd.embarcadero.com link to the 10.1 Berlin ISO, which works fine, but there was no mention of "fixing" the Registered Products Portal. I suspect it never will be made functional again for those of us no longer on Update SubScription.
  3. Nigel Thomas

    Current subscription required to download ?

    Cannot access any downloads. All show the same message: UPDATE SUBSCRIPTION EXPIRED REQUEST RENEWAL QUOTE (and yes, it is in ALL CAPS!) I thought I might still be able to download stuff from the old site - https://cc.embarcadero.com/reg/delphi - although it is cripplingly slow. However any download attempt from that site gives:
  4. Nigel Thomas

    Current subscription required to download ?

    For the OP - here's a direct link to download the 10.3.1 ISO. Of course it will only be of use to you if you are registered for this version: http://altd.embarcadero.com/download/radstudio/10.3/delphicbuilder10_3_1_194899.iso
  5. Nigel Thomas

    Current subscription required to download ?

    Well that's annoying.. I've just checked my Registered Products Portal, and I can no longer download the last version - Delphi Berlin 10.1 - that my Subscription Updates took me to before I ended my subscription. Like the OP, I maintain that I should be allowed to download the latest version which I had paid for, without having to renew my subscription.
  6. DateUtils.IsValidDate checks if the Year is <= 9999. This means the test will fail in the year 10000 and forward. Shouldn't it be fixed now, to avoid a new "Millenium Bug" panic?
  7. Nigel Thomas

    FileOpen dialog not showing all files

    Don't believe the version number stated on Angus's website, the version downloadable from there is 5.1.8.360.
  8. Every time I've tried asking ChatGPT how to do something using ICS components it answers with Indy samples. Has Remy paid for promoted listings on ChatGPT, so Indy results appear above ICS? <g>
  9. Nigel Thomas

    Windows App hosting options?

    Not the answer you are looking for, but you are aware that many users these days have browser adblockers installed? I suspect depending on advertising revenue from website visits to support your application may not be the best way of funding your work on it.
  10. Hi, For info (I realise it's still in Beta): I've downloaded the latest 8.66 from Subversion today. Installation on D10.1 was painless. Installation on D2007 ran into a couple of hiccups: 1) the runtime package requires VCLZipPack, which couldn't be found. 2) The RegisterComponents procedure in OverbyteIcsReg.pas tries to register the following missing components: TIcsTwitter, TIcsRestEmail, TIcsInetAlive. Commenting out these allowed the design package to be installed. Nigel
  11. Nigel Thomas

    8.66 installation for D2007 problems

    Hi Angus, Although this is a bump of an old topic, it appears to be pertinent once more.. I've downloaded the latest 8.70 (tried both SVN versions and the ics870.zip file) and attempted to install in D2007, after removing the older (8.68) version. Trying to build OverbyteIcsD2007Run fails with: Required package VCLZipPack not found. Nigel
  12. Nigel Thomas

    FaVolumeId??

    if Trim(sTempFilesPath) <> '' then Trim *returns* the trimmed string, it doesn't trim it in place. Your code is still working on the non-trimmed sTempFilesPath.
  13. What OS? D10.4.2 Community Edition runs fine for me here on Windows 7, Windows 10, and Windows 11. I don't recall having to jump through any hoops to get it working in Win7.
  14. Hi All, Am I right in concluding that TRegistry.MoveKey fails to move REG_MULTI_SZ values correctly? In tests using D2007 and D10.4.2 (the code doesn't appear to have changed across those versions) such a move results in the creation of a value with REG_NONE and the strings from a MultiSZ value copied as raw binary data. I get why; DataTypeToRegData returns a TRegDataType and that type doesn't have a MultiSZ value. Given that RegQueryValueEx and RegSetValueEx do know about REG_MULTI_SZ, I'm guessing that MoveKey could be fixed to work correctly with MultiSZ registry values. I would however have thought that someone might have picked up this issue a long time ago, so I'm wondering if it's just me being dense. And if it's not me being dense, how to I go about fixing it given that I can't modify TRegistry?
  15. Let's see if they at least fix REG_MULTI_SZ: RSP-39581
  16. Nigel Thomas

    Windows 11 22H2 lost batch file association

    On my Insider Preview of Windows 11 22H2 (Build 22622.290) the batfile association, set in HKLM\Software\Classes, remains - as do all other expected file associations. I wouldn't have thought that would be something Microsoft would mess with as it would break so much stuff.
  17. On 64Bit Windows, when a 32bit app calls a file-open dialog, e.g. TOpenDialog or TFileOpenDialog, then browses to the \Windows\System32 directory to select a file in that directory, the dialog actually displays the contents of the SysWow64 directory - even though the dialog title states it is browsing the system32 directory. I assume this is caused by file system redirection. I'd like to bypass it and browse - and select files from - the actual system32 directory. I've tried calling Wow64DisableWow64FsRedirection before creating the dialog but it has no effect. I expected to see at least a few posts about this on Google somewhere, but I've not come across any. Curious point: with the fileopen dialog open, it is possible to drag-and-drop a file from the dialog to the desktop - and the file that is dragged turns out to be the system32 file, and not the SysWow64 file (the filesizes of identically-named dlls are usually different so it is easy to confirm this). Whilst that is interesting, it doesn't help if one wishes to access a file that is in the system32 directory, but has no identically-named counterpart in the SysWow64 directory, as the dialog will not display it (confirmed by creating differently named files in each directory to see what was visible in the dialog). Edit to add: this behaviour is the same on D2007 and D10.4.2.
  18. It's a Malware scanner. The select dialog is provided to allow the user to exclude specific folders/files from analysis. I suspect it will be rarely used to exclude system32/syswow64 files, and even less likely to land on a file that *is* in SysWow64 but is *not* duplicated in System32 (the only real time it makes a difference). The way the selection dialog lies about what folder you are viewing just irks me.
  19. The dialog has no knowledge of sysnative. For 32Bit applications running on an x64 system, it displays the SysWow64 directory, it just tells you it is the System32 directory, Try browsing for a file or folder in System32 that does not have a duplicate-name in SysWow64 and you'll see the issue.
  20. The string returned from the dialog contains "system32", so that is a non-starter. Besides which, the whole point of this query was to determine how to select files in the System32 directory that do not have duplicate-names in the SysWow64 directory. You can't, because you are only shown the contents of the SysWow64 directory.
  21. Nigel Thomas

    Delphi Registration

    The last time (Jan 2022) I requested a registration bump I was sent this: If you have not already, try emailing renewals with your request. They should assign it to Embarcadero EU, who should then contact you - try and get you to renew - then do the bump as requested. Or so I am told. I ended up not following through with my request as I copied the slip files from another machine, and renamed my machine to that machine (which I was retiring), and got my copies of D2007 and D10.1 working that way. This old SO question still applies, as far as I know: https://stackoverflow.com/questions/34451575/reinstalling-windows-without-re-registering-delphi
  22. Thanks. I suspected that might be the case.
  23. Nigel Thomas

    Delphi Starter License

    ? Has a new CE edition been released and no-one has told us?
  24. Like you did back in 2013 🙂 : SO 14647108 If statements were the answer for that scenario as well.
  25. Hi all, My D10.4.2 Community Edition licence expired today. When I request a new licence from: Download the Free Delphi: Community Edition - Embarcadero I receive the following email: Subject: Thank You For Downloading Delphi 10.4.2 Sydney Community Edition Our records show that you have previously obtained a trial license for this product and version. A trial license can be issued only once. If you would like to extend the product evaluation, please contact Embarcadero Support at www.embarcadero.com/support. I seem to recall that this exact issue happened last year, when Embarcadero said it was a glitch. Looks like the glitch is still there? Nigel
×