Brian Evans
Members-
Content Count
360 -
Joined
-
Last visited
-
Days Won
4
Everything posted by Brian Evans
-
Delphi and "Use only memory safe languages"
Brian Evans replied to Die Holländer's topic in General Help
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). -
New RAD Studio 11.3 (Build 2024) posted Feb 20, 2024
Brian Evans replied to Navid Madani's topic in Delphi IDE and APIs
GetIt Update: RAD Studio 11 GetIt Online Installation along with Delphi and C++Builder Community Edition Are Now Available (embarcadero.com) -
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.
-
Access point changes my device's MAC address
Brian Evans replied to ErikT's topic in Network, Cloud and Web
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.- 6 replies
-
- network
- access point
-
(and 1 more)
Tagged with:
-
Finding Memory Leak fast with Spring4D container?
Brian Evans replied to egroups's topic in Algorithms, Data Structures and Class Design
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. -
Delphi 12 - Action Bar Menu painting issues with RDS
Brian Evans replied to Stéphane Wierzbicki's topic in VCL
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. -
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.
-
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.
-
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
-
Seeking Collaboration: Creating a Delphi Component for STM32 Boards
Brian Evans replied to techdesk's topic in General Help
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 -
A native VCL, and not Windows-based, TComboBox control.
Brian Evans replied to shineworld's topic in VCL
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; -
Error : constant expression violates subrange bounds
Brian Evans replied to Connie McBride's topic in RTL and Delphi Object Pascal
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 -
FireDac Array DML Update query - omitting certain fields
Brian Evans replied to Mark Williams's topic in Databases
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'; -
Strange issues using multiline strings (was "Is it just me?? ")
Brian Evans replied to Ian Branch's topic in Delphi IDE and APIs
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. -
GetIt installation does not work
Brian Evans replied to PeterPanettone's topic in Delphi IDE and APIs
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. -
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;
-
[dcc32 Fatal Error] F2039 Could not create output file
Brian Evans replied to RockWallaby's topic in Delphi IDE and APIs
Can try Process Monitor - Sysinternals | Microsoft Learn and check what is accessing it as you compile / run / close. Something must be holding something open. -
Delphi 12: IBLite Open error "unavailable database"
Brian Evans replied to dcroghan's topic in Databases
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. -
RadStudio 12,: IDE F1 key, The context sensitive help doesn't show up
Brian Evans replied to HaSo4's topic in Delphi IDE and APIs
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. -
Delphi 12 requires missing DLL on Server 2008
Brian Evans replied to Tsagoth's topic in RTL and Delphi Object Pascal
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 -
WOW64 was an optional component starting with Windows Server 2008 R2 Server Core which came out over 14 years ago.
-
Collect JSON ajax data from a local zigbee web server
Brian Evans replied to dan27125's topic in Network, Cloud and Web
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.- 10 replies
-
- c++ builder 11
- json
-
(and 4 more)
Tagged with:
-
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.
-
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.
-
Looking for License Plate Recognition library
Brian Evans replied to alnichols2024's topic in General Help
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).