blong | 2017-10-15 02:19
Quite some while back I answered a question on Stack Overflow, which explained how to build a Delphi project from the command line and also how to deploy it. The context of the question was Andriod developmentIn the case of an Android application deploying it has absolutely nothing to do with installing the resultant .apk file onto your Android device, despite what your personal interpretation of the word may be. Oh no, most definitely not.Instead, deployment is about packaging up all your various files - your compiled Android library (a .so file), all the images, splash screens, icons, custom files,…
blong | 2017-10-15 02:19
Quite some while back I answered a question on Stack Overflow, which explained how to build a Delphi project from the command line and also how to deploy it. The context of the question was Andriod developmentIn the case of an Android application deploying it has absolutely nothing to do with installing the resultant .apk file onto your Android device, despite what your personal interpretation of the word may be. Oh no, most definitely not.Instead, deployment is about packaging up all your various files - your compiled Android library (a .so file), all the images, splash screens, icons, custom files,…
blong | 2017-10-15 02:12
I’m delighted to say that later this month I’ll be over in Cologne speaking at EKON 21, which runs from 23rd to 25th October, 2017 and is being held in Cologne in Germany. I’m doing three Delphi-related talks on some of my favourite subjects: creative debugging, Android API usage and IDE tips/techniques.Unfortunately, though, being as all three talks are in the same day, Tuesday 24th October, I’m not sure I’ll get to see much of the other great talks on offer, which is a shame for me.It’s great to be heading back to EKON – I haven’t been over to…
blong | 2017-10-15 02:12
I’m delighted to say that later this month I’ll be over in Cologne speaking at EKON 21, which runs from 23rd to 25th October, 2017 and is being held in Cologne in Germany. I’m doing three Delphi-related talks on some of my favourite subjects: creative debugging, Android API usage and IDE tips/techniques.Unfortunately, though, being as all three talks are in the same day, Tuesday 24th October, I’m not sure I’ll get to see much of the other great talks on offer, which is a shame for me.It’s great to be heading back to EKON – I haven’t been over to…
| 2017-10-02 14:15
Change the color of a Delphi FireMonkey panel or make a FireMonkey panel transparent.
noreply@blogger.com (Rudy Velthuis) | 2017-09-01 18:16
Introduction Today, I had a discussion on StackOverflow (I hope no one deleted it yet) on the usefulness of smart pointers instead of try...finally. My arguments are as follows: 1. try...finally decreases the readability of a function, especially if they are nested, e.g. when you instantiate a TStream and then a TStringList. Then you would need two nested try...finally constructs, thoroughly decreasing readability. 2. The code that destroys (frees) the object can be several lines removed from the place where it is created. Smart pointers allow you to take care of lifetime management right where you create the object. 3.…
noreply@blogger.com (Rudy Velthuis) | 2017-08-31 18:01
Problem Say, you write a package called MyControls.bpl. The units you put in it need a lot of units from TeeChart: Package MyControls: package MyControls; ... contains MyUnit1, MyUnit2; end. Now, in MyUnit1 and myUnit2, you use the units TeeThis, TeeThat and TeeOther: unit MyUnit1; uses TeeThis, TeeThat; unit MyUnit2; uses TeeThat, TeeOther; Then these three TeeXXX units will implicitly be imported (linked) into your package. So now your package contains MyUnit1, MyUnit2, TeeThis, TeeThat and TeeOther, although your contains section only explicitly mentions the first two, the ones you wrote. Then, if a customer of yours installs your package,…
| 2017-08-19 02:04
I needed to create 500 panels on a form for a game that I was assisting another person with … and Delphi was choking. It was taking 20 seconds to do this. Not cool. We had to find a way to speed it up. This is what we did … I trawled through my […]
Page 132 of 144