Adam Leone
It is highly likely that most Delphi programmers already have some code in the toolbox for launching applications on Windows. I know that I have written a few different utility functions myself over the years…. … Read more
2 years ago in Delphi Programming, example code0
Adam Leone
GitHub Actions is a powerful automation tool first introduced by GitHub back in 2018 and has significantly matured over the last few years. It can be leveraged to automate workflows based on events and is… … Read more
2 years ago in Delphi Programming, example code0
Adam Leone
I imagine most Delphi developers have written code similar to the following to quickly test a block of code using the Now function: procedure TDemoExecutionProfilerForm.DoSomeComplexCode; var StartTime:TDateTime; DebugMessage:String; begin StartTime :… … Read more
2 years ago in Delphi Programming, example code0
Adam Leone
I was speaking with a colleague the other day who was working on a project which relied on the popular Delphi component trio: TRESTClient, TRESTRequest and TRESTResponse. He wanted to add a progress event but… … Read more
3 years ago in Delphi Programming, example code0
Adam Leone
TLDR; for 32-bit applications add this line to your DPR: {$SETPEOPTFLAGS $140} for 64-bit applications use: {$SETPEOPTFLAGS $160} {$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE} or, if you do not have WinAPI.Windows in your uses list to support using con… … Read more
3 years ago in Delphi Programming, example code0