Jump to content

Nigel Thomas

Members
  • Content Count

    84
  • Joined

  • Last visited

Posts posted by Nigel Thomas


  1. 12 hours ago, Fr0sT.Brutal said:

    StringReplace(FilePath, 'SysWOW64', 'System32')

     

    😄

    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.


  2. The last time (Jan 2022) I requested a registration bump I was sent this:

     

    Quote

    We received your request to increase the registration limit for your serial number xxx. Unfortunately, there is not an active support and maintenance agreement for this license. Licenses without active maintenance are not eligible for technical support and this includes increasing the registration limit for your license.

    Historically, we provided limited support for activities such as changing registration limits as a courtesy.  Going forward registration limit changes will have to be approved by Renewals. We are working to provide a more automated way to facilitate this service in the future or eliminate the need for it altogether.

    I have copied the renewals team in this email response (renewals@idera.com). Your renewals representative will be able to assist you with options to renew your support and maintenance, as well as facilitate the necessary registration increases.

    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

    • Like 1

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


  4. I tried using the Support link, but only received a vanilla response:

     

    Quote
    
    The Delphi Community Edition product is supported differently from the other Embarcadero products. Since these products are not eligible for update subscription the Support for these products is only available in the Community Forums,  Embarcadero online documentation and the product Frequently Asked Questions (FAQ).
    
    To extend the use of your community edition license please refer to the instructions on the Community Edition FAQ:
    
    https://www.embarcadero.com/products/delphi/starter/faq
    
    Instruction for extending the license are found in articles 20 and 28

    Perhaps @Marco Cantucould get the right people informed?


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


  6. Windows "Feature Updates" move Windows to Windows.old as part of the update process. I usually search in there for the missing files, and move them to the new Windows directory. I also keep a copy of the files elsewhere, just in case Microsoft loses them..

     

    The files concerned are:

    Borland.Common.Targets

    Borland.Cpp.Targets

    Borland.Delphi.Targets

    Borland.Group.Targets

     

    And they need to be present (and therefore copied to, from Windows.old, or your stashed location) in:

    Windows\Microsoft.Net\Framework\v2.0.50727

     


  7. On 9/2/2021 at 5:29 PM, DPStano said:

    we are fighting against AV daily and after talking to few AV companies and their engineers all say there is no difference between unsigned and signed binary even with EV certificate.

    I doubt much has changed since this blog was written in 2018: https://www.microsoft.com/security/blog/2018/08/16/partnering-with-the-industry-to-minimize-false-positives/

     

    " One of the most effective ways for developers to reduce the chances of their software being detected as malware is it to digitally sign files with a reputable certificate. "


  8. 2 hours ago, Clément said:

    Would it do any good to send this application to Microsoft "as is" before I make some changes and Defender stops detecting it?

    As it is clearly a false positive, then yes. In my experience, MS have always been good at fixing false positive detections when I've sent them.

     

    Others might suggest uploading a copy to VirusTotal as well; I'd recommend against that, as it tends to just lead other AV vendors to jump on the bandwagon and add detection for a file they can see other(s) detect, but they don't, instead of actually analysing it.


  9. This crops up every time there's a Windows 10 Features Update (and as you have now experienced, also with Windows 11 Feature Updates). Make sure you have the following files saved outside of the Windows path, for when it next (and it will) happens, so you can copy them into the "new" Windows Net Framework \v2.0.50727 directory:

     

    Borland.Common.Targets

    Borland.Cpp.Targets

    Borland.Delphi.Targets

    Borland.Group.Targets


  10. ReleaseID was deprecated after version 2009: Gabe Frost on Twitter

    He also states not to depend on DisplayVersion looking ahead either.

     

    As for Windows 11 not having the Major version upped to 11, there's always the possibility this might change during the preview process.

     

    Microsoft is doing its level best to stop people depending on version information, but rather just try whatever API function you want to call, and fail/fallback gracefully if it isn't available. That of course does nothing to those who still want to know/show accurate (and not shimmed) version information, for whatever reason.


  11. 6 hours ago, aehimself said:

    Seems it works 🙂

    Funny thing is that I'm sure that the N45L CPU is not supported (plus there's no TPM in ESXi VMs) but the insider preview installed without complaints.

    See update-on-windows-11-minimum-system-requirements

     

    Quote

    Today, we’re releasing the first preview build of Windows 11 to the Windows Insider community. In support of the Windows 11 system requirements, we’ve set the bar for previewing in our Windows Insider Program to match the minimum system requirements for Windows 11, with the exception for TPM 2.0 and CPU family/model.

    My added emphasis.


  12. 16 hours ago, David Heffernan said:

    Reading Marco's article on the recently released patches for 10.4.2 I noticed this text:

    Is that right? If you don't keep an active update subscription, you aren't entitled to bug fixes?

    Marco also states, in the same blog post, that the patches will be made available in the download portal.

     

    I found them at my.embarcadero.com and cc.embarcadero.com/reg/delphi (although the latter is painfully slow). I no longer have an active subscription, it expired with Berlin 10.1, but I am able to download these patches (not that I need to).


  13. @berean52, are you on Windows 10, and if so, is Controlled Folder Access enabled? You can check for this in Settings | Update & Security | Windows Security |  Virus & threat protection | Manage ransomware protection (or more quickly, by clicking the Start button and typing "Controlled Folder Access", and selecting that option). The reason I ask is that the behaviour you are seeing - the licensing server says all is well, but the local IDE says not - suggests that the IDE is unable to access the licence file on startup thus thinks it does not exist. A possible reason for the inability to access the licence file is if Controlled Folder Acess is in force and blocking the IDE.

     

    Nigel

×