Jump to content

Brian Evans

Members
  • Content Count

    360
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Brian Evans

  1. Brian Evans

    Delphi and "Use only memory safe languages"

    They certainly added to the list between the 2022 and 2023 / 1.1 revision of the report. 2022: Examples of memory safe language include C#, Go, Java®, Ruby™, Rust®, and Swift® 2023: Examples of memory safe language include Python®, Java®, C#, Go, Delphi/Object Pascal, Swift®, Ruby™, Rust®, and Ada. CSI_SOFTWARE_MEMORY_SAFETY.PDF (defense.gov) CSI_SOFTWARE_MEMORY_SAFETY_V1.1.PDF (defense.gov).
  2. Brian Evans

    New RAD Studio 11.3 (Build 2024) posted Feb 20, 2024

    GetIt Update: RAD Studio 11 GetIt Online Installation along with Delphi and C++Builder Community Edition Are Now Available (embarcadero.com)
  3. Brian Evans

    CMake and bcc64 and Poco

    C++ Builder 22 (Compiler Versions - RAD Studio (embarcadero.com) is before C++17 support which came with Delphi 10.3 Rio / C++Builder 10.3 Rio which is product version 26 / compiler version .33.0.
  4. It is your device changing its own MAC address not the access point. It is meant as a privacy feature to prevent easy tracking of user devices. Windows 10/11 : How to use random hardware addresses in Windows - Microsoft Support On second thought - it looks like the access point is setup as a router not an ethernet bridge. That means packets all come from the router as it routes / passes on IP packets not ethernet frames.
  5. A code analyzer might be able to catch errors like that. Not sure if Pascal Analyzer (Peganza - PAL) would catch them in code using Spring4D dependency injection but they might add it if asked.
  6. Brian Evans

    Delphi 12 - Action Bar Menu painting issues with RDS

    Was not able to find a solution. Did a build with Delphi 12 patch 1 and tested in a Windows Sandbox and the issue persists.
  7. Brian Evans

    Hyper-V server as host for 3 VMS

    Windows 11 Pro and higher support running Hyper-V as an optional feature. I use a workstation running Windows 11 Pro as my main environment with WSL, Windows Sandbox, and some Hyper-V virtual machines for various other development, and testing tasks that require different/clean environments. Current machine is a P620 from Lenovo with a 16 core Threadripper PRO 3955WX with 128GB RAM using SSDs + Optane 905P for storage (the latter configured as a Dev Drive using ReFS) and a Radeon PRO W6400 graphics card. Newegg been slowly clearing out Optane 905P drives for much less than they used to go for, so I bought one, not sure if it has made much of a difference.
  8. Brian Evans

    Delphi 12 TADOConnection Provider not found?

    Open the ODBC Data Sources Administrator (64-bit) (search for ODBC Data Sources and select the 64-bit one) in Windows and check the Drivers tab to see which 64-bit databases drivers are installed. Can also use it to test connection strings to see if there is some other issue when using 64-bit.
  9. Brian Evans

    RAD 10.2 Startup Script Errors

    That looks like JavaScript errors in the start page. Usually just disable the Start Page IDE Package and Community Toolbar to get rid of them and have the IDE start faster. Putting an underscore in from of the package descriptions in the Known Packages section of the Windows registry is one way. See: Delphi packages I have disabled by prefixing their description with an underscore (and why) « The Wiert Corner – irregular stream of stuff
  10. STMicroelectronics provides a command line toolset (STM32CubeCLT) to do most of those things. See: STM32CubeCLT - STM32CubeCLT is a toolset for third-party integrated development environment (IDE) providers, allowing the use of STMicroelectronics proprietary tools within their own IDE frameworks. - STMicroelectronics
  11. Brian Evans

    A native VCL, and not Windows-based, TComboBox control.

    Common to populate the list in OnDropDown. procedure TForm1.ComboBox1DropDown(Sender: TObject); begin ComboBox1.Items.BeginUpdate; Try ComboBox1.Items.Clear; ComboBox1.Items.Add('None'); for var I:integer := 1 to 256 do ComboBox1.Items.Add(IntToStr(I)); Finally ComboBox1.Items.EndUpdate; End; end; Can also clear the list in OnExit. procedure TForm1.ComboBox1DropDown(Sender: TObject); begin Var AComboBox := TComboBox(Sender); If AComboBox.Items.Count = 0 then begin AComboBox.Items.BeginUpdate; Try AComboBox.Items.Add('None'); for var I:integer := 1 to 256 do AComboBox.Items.Add(IntToStr(I)); Finally AComboBox.Items.EndUpdate; End; end; end; procedure TForm1.ComboBox1Exit(Sender: TObject); begin TComboBox(Sender).Items.Clear; end;
  12. Looks like different definitions of CW_USEDEFAULT, it can happen for global constants. Add a unit prefix to specify a specific one on the line giving the error. See : Constant with same name in different Unit in Delphi - Stack Overflow
  13. Brian Evans

    FireDac Array DML Update query - omitting certain fields

    Null parameters and COALESCE () in the UDPATE statement would be one way. SQL.Text :='UPDATE persons SET name=COALESCE(:NAME,name), email=COALESCE(:EMAIL,email) WHERE id=:ID';
  14. Far as I can tell something causes it to screw up line counting so the line # in the editor and line # the parser sees the code at differ causing it to act very strangely. No luck trying to create a file that reliably reproduces the issue yet.
  15. Brian Evans

    GetIt installation does not work

    Works fine here as well - updated KSVC in Delphi 12 patch 1 without issues. There are dialogs for this will require a restart of the IDE and restart the IDE that some packages put up during installation.
  16. Brian Evans

    Mainform won't change width...

    More information would help - lots of places such code could hide. One place would be in FormCanResize but it could be elsewhere - likely includes width in some form so search for that. procedure TForm1.FormCanResize(Sender: TObject; var NewWidth, NewHeight: Integer; var Resize: Boolean); begin NewWidth := (Sender as Tform).Width; end;
  17. Can try Process Monitor - Sysinternals | Microsoft Learn and check what is accessing it as you compile / run / close. Something must be holding something open.
  18. Brian Evans

    Delphi 12: IBLite Open error "unavailable database"

    Design time components, the database explorer and the running application all want to open the database. Only one at a time can succeed for a non-shareable file-based database. I usually do most development against the client/server version of such a database so I can examine the data, develop queries etc against the live database the application is using with a tool like Database Workbench. For deployment I make the connections inactive in the IDE and bring them up in code to use the embedded database engine.
  19. Works fine here - it does tend to just bring up IDE help if the cursor is not on a type/unit with direct help available. So Form1 / TForm1 brings up Code Editor help while on Form it brings up Vcl.Forms.TForm help.
  20. The service pack doesn't include the DLL. The universal C runtime does which for Server 2008 R2 needs to have Windows Server 2008 R2 Service Pack 1 (SP1) installed. Update for Universal C Runtime in Windows - Microsoft Support Also Windows Server 2008 and Windows Server 2008 R2 are different operating systems analogous to Windows Vista and Windows 7 on the desktop. Service packs and updates for each are not interchangeable. There is also an App-local deployment of the Universal CRT available (so just DLLs in your executable directory). Described/mentioned in the articles linked below. Introducing the Universal CRT - C++ Team Blog (microsoft.com) Universal CRT deployment | Microsoft Learn
  21. Brian Evans

    Delphi 12 is available

    WOW64 was an optional component starting with Windows Server 2008 R2 Server Core which came out over 14 years ago.
  22. Postman is a popular tool to call and test REST APIs during development. It is not specific to Delphi. Once you know the calls and responses from the APIs you can work on accessing them in Delphi. To see the underlying REST API used by the web page use developer mode/tools in your browser. Refresh the page with developer tools open and check the network tab to see the requests and responses made.
  23. Brian Evans

    Delphi 12 is available

    The chance of desktop or server support for 32-bit Windows applications being abandoned is close to zero. Support for running 16-bit Win16 applications on the desktop only went away with Windows 11 and is currently still supported under Windows 10 32-bit edition. Any attempt will mean delayed Windows upgrades until it is restored. I saw the same thing with support for Xenix 286 binaries in SCO OpenServer- they kept dropping support only to add it back to capture customers who wanted a new server + OS to run old line of bussiness applications. Such applications can have incredibly long lives and healthy budgets to keep them running on supported servers by upgrading hardware and operating systems. Windows has accumulated many such applications.
  24. Brian Evans

    TRibbon issue on delphi 12

    Too much effort required to reproduce. That leaves just others who might have seen the exact issue already - a smaller group than those who could debug or investigate it if given an easy to run and debug reproduction of the issue.
  25. Brian Evans

    Looking for License Plate Recognition library

    Hard to recommended anything with zero requirements listed. It is available as a service if you have the money from providers like Automatic License Plate Recognition - High Accuracy ALPR (platerecognizer.com).
×