Jump to content

FredS

Members
  • Content Count

    408
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by FredS

  1. FredS

    How to Refresh 10.4.2 CodeInsight

    Come on, don't be so negative.. it only took from D2006 till now to get here with ErrorInsight..
  2. FredS

    How to Refresh 10.4.2 CodeInsight

    Nothing to do with Git. CodeInsight correctly marked an error I updated the file at fault, the IDE asked if it should reload that file - OK Error still marked Did a Build all Error still marked How to refresh CodeInsight?
  3. Just wait until patches are delivered via DOS 🙂
  4. After copying over bds.exe I got as far as attempting to use Build Groups but that failed with: Module not found: dcc32270.dll Once again a copy from an Online install fixed that.. C:\>dir /s dcc32270.dll Volume in drive C is Windows Volume Serial Number is 4437-4848 File Not Found
  5. FredS

    Delphi 10.4.2 first impressions

    10.4.1 wasn't compatible so neither will 10.4.2
  6. FredS

    Delphi 10.4.2 first impressions

    10.4.1 DCUs are compatible with 10.4.2, else I couldn't have built my projects..
  7. FredS

    Delphi 10.4.2 first impressions

    Yes, that was done a couple of months ago when I had GetIt issues.. But that was an RDP mapped drive not a standard one which with a 6 Gig file could be the issue. So far all testing looks pretty good, an exception of API not found during startup (Windows 7) but compile speed is down to Rio speed again and CodeInsight seems to be working... including.. gulp.. ErrorInsight 🙂
  8. Same here just now using the Off-line installer on Windows 10. The only AV is the M$ one.. and definitions where updated less than an hour ago. --------------------------- Setup --------------------------- Unable to execute file: C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\bds.exe CreateProcess failed; code 2. The system cannot find the file specified. --------------------------- OK ---------------------------
  9. Right, it will simply NOT inline that function and that means there is a Jump.. inline is faster.. ..more on those for Rio
  10. FredS

    Delphi 10.4.2 first impressions

    Not sure yet.. Tried using the GOF file with the installer from a mapped drive and got a tsclient error. So that doesn't work, was never tested or maybe its because I still use Windows 7..
  11. FredS

    isFileInUSe

    Remembered I added this for a self updater. But I can't say its fully tested yet the remark sounds correct: class function TDirectoryHelper.HaveControlledFolderAccess(const Path: string): Boolean; {$REGION 'History'} // 04-Jan-2019 - 'Controlled Folder Access' won't return an error nor an Invalid Handle // those checks are here in case the path is bad or doesn't exist. // The only indication is that the file is not created {$ENDREGION} var LFile: string; h: THandle; begin LFile := TPath.Combine(Path, TGuid.NewGuid.ToString + PERIOD + TGuid.NewGuid.ToString); h := CreateFile(LFile.ToPchar, GENERIC_READ or GENERIC_WRITE, 0, nil, CREATE_NEW, FILE_ATTRIBUTE_HIDDEN or FILE_FLAG_DELETE_ON_CLOSE, 0); if (h = INVALID_HANDLE_VALUE) then Exit(False); Result := FileExists(LFile, False); CloseHandle(h); end;
  12. FredS

    isFileInUSe

    For protected folders you are fighting the builtin security system.. it's like a builtin Firewall, you only know your call didn't work and most likely froze you never get an explanation why..
  13. Vielleicht Interessant: Zum Corona Quiz
  14. FredS

    Create a Delphi Dll and load it with DllMain

    I just ran the compiled demo for InjectAPI and that still worked on a freshly installed Windoze 20H2. But you can't have a DLL with forms only Kernel32 and User32 API. This means you will need to hack some communication with an app. But let me warn you, I was surprised that it worked especially since the Binaries where not signed. This is oodles more restrictive today than it was 20 years ago 🙂 hope that helps
  15. FredS

    Error E2010 incompatile types are same types

    Check your paths, sometimes Delphi starts comparing same named DCUs built with different compiler directives.
  16. FredS

    Another getit problem for rad 10.4.1

    You should be able to get those from https://my.embarcadero.com As for the rest, what are the results of NsLookup? nslookup getit-104.embarcadero.com
  17. FredS

    Delphi 10.4 GetIt connection issue

    Same happened to me, seems to be a case manufacturer obsolescence:
  18. FredS

    Delphi 10.4 GetIt connection issue

    Pretty sure only getitnow is setup to accept basic browser access. The others appear to be redirected to this error. Check: [HKEY_CURRENT_USER\Software\Embarcadero\BDS\??.0\CatalogRepository] ServiceURL=https://getit.embarcadero.com
  19. FredS

    FireDAC Add On discountinued? (Good by Embarcadero?)

    Besides cost once your projects are fine tuned it can take a long time of frustrated user input to iron out differences.. Back when I looked at FireDAC it was around $900 plus subscription fees while UniDAC was ~$400.. now that initial investment is null and that includes time spent..
  20. FredS

    Threads on dual-Xeon system

    Checkout the NUMA Support Branch Add to DPR Uses: FastMM5 in '<path>\FastMM5\FastMM5.pas', Call `FastMM_ConfigureAllArenasForNUMA` in the DPR after BEGIN
  21. FredS

    Threads on dual-Xeon system

    I don't have a Dual Xenon system available to me but I've tested this in an elevated app and it works fine: https://community.idera.com/developer-tools/programming-languages/f/delphi-language/72615/linux-equivalent-for-setthreadidealprocessor-and-setthreadaffinitymask-in-delphi
  22. FredS

    Threads on dual-Xeon system

    I added in my DPR right above madExcept (v5) and it worked fine. Did you use the NUMA Branch?
  23. Can be changed to force UAC into the Secure Desktop: https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/user-account-control-behavior-of-the-elevation-prompt-for-standard-users
  24. I got as far as "Error on loading data from server getit-104.embarcadero.com..." 🙂
  25. Use Regex101 to find the issue.
×