Category: Technical

Smart Pointers

Smart pointers have a few uses, the most common being for memory management, providing a way of automatically managing the lifetime of an object in non garbage collected languages. In Delphi this is similar to what you get with reference counted interfaces but a smart pointer implementation does this in a generic way such that all objects can be managed without having to change the existing class (no need to implement interfaces or descend from TInterfacedObject).… Continue reading ›

Posted in Language Tagged with: , , ,

Extend search to form files

Recently I worked on a project with many forms and database components, where I had to change the references in the components itself.

The problem I had was to find and edit all the components which had a special keyword / reference in it!… Continue reading ›

Posted in IDE, Tools Tagged with: ,

How to embed video into your source code

In this post, I will be showing how to embed publicly hosted video into your Delphi source code.… Continue reading ›

Posted in IDE

Using tortoise svn 1.7 and Delphi XE2

Just a heads up for anyone using tortoise svn 1.7 and Delphi XE2.

It is extremely rare that I’ve needed to use svn via the command line, but in trying it today I received a spurious error:

"svn: '.' is not a working copy"Continue reading ›

Posted in IDE, Tools Tagged with: , , ,

Incorporating Maps into your application

As everyone knows, Google provides a web mapping service application that allows maps to be embedded into third-party websites via the Google Maps API.These APIs can be used to incorporate static maps into your Delphi applications. (Refer to Google’s terms of use for these APIs here.)… Continue reading ›

Posted in Tools, VCL