Archive for the ‘Delphi’ Category

Adding resources to a Delphi app at build time

Saturday, February 28th, 2015

Just a quickie to let people know you can add resources to a Delphi app by using ‘Project->Resources and Images’ from the menu, but also by including them yourself using a .RES file that you can direct the compiler to generate during the build process. When I went looking for an answer there was some debate as to whether this was possible and if so how. There didn’t appear to be a consensus so I have just tested it with XE7 and it is possible using a resource directive in a unit.

So, with this resource directive in a unit:-

{$R sample.res sample.rc}

sample.rc contains:-

MYPNG RCDATA sample.png

And I can then load that image using:-


I know it works and loads correctly because I went on to paint the image on a canvas on the form.

Delphi is 20 years old

Monday, February 9th, 2015

The year is 1995 and I’m sat at home working on my latest application with Turbo Pascal 7. Windows 3.1 is king and I want to start writing windows applications… I could have opted for Borland Pascal (but that was seriously expensive) and based on my experiences with Turbo Vision, developing Windows apps would be a killer. Then one day I saw a review of a new product from Borland. Labelled as the VB killer, the new products name was Delphi. Due to be launched soon in two flavours, Standard and Professional. I opted for Standard (I had no money back then), pre-ordered it and eagerly awaited release day. (more…)

My Delphi library opens it’s doors – unitXInput published

Friday, December 19th, 2014

I have finally bitten the bullet and decided I’m going to start publishing more of my library code. I’m not going to publish all of it, but some nuggets that may help people here and there. (more…)

Tesco Hudl 2 – Drivers and Delphi

Saturday, October 11th, 2014

This is going to be a quick post about the newly released Tesco Hudl 2. I have updated the driver packages available from my site, there is a Hudl pack and a new Hudl 2 pack. A quick test has demonstrated that Delphi can be used to write software that will run on the Hudl 2. (more…)

Some of the benefits of Delphi XE7

Saturday, September 27th, 2014

It’s been a while since I posted and well I just thought I’d get this out there. For those who may not know, Embarcadero have recently released RAD Studio XE7 (and I’m going to give a mention to AppMethod as well), the latest version of their now cross platform enabled development environment. So what I hear you cry? Well, one of the things I tinker with when I have a few moments is my desire to be an author. I’ve been working on my first novel for some time and for this I use a fairly well known writing package that is available on Mac OSX and Windows. And right now I’m sure you’re thinking “what the hell have these two things got in common????” (more…)

Pascal Game Development – Community project launch

Friday, May 2nd, 2014

Well, a I’ve already mentioned I have recently found myself in the position of managing the community at Pascal Game Development. As my first (possibly crazy) act, I asked the community what they thought about working together to create a game development engine for Delphi and FreePascal.

Suffice to say, I have been a little overwhelmed by the enthusiasm that has thus far been demonstrated. So, if you’re into Pascal and you’re into making games and you’d like to work on a community project to build a game engine for the community, then head on over to PGD, register an account and sign up as a developer on the project.

Will keep you posted on progress :)

Embarcadero release XE6

Tuesday, April 15th, 2014

Embarcadero have release RAD Studio XE6. It features some great enhancements including app tethering. Check out the product pages here. If you’re into multi-device development and you don’t want the Windows VCL elements, you may also want to check out Appmethod, also from Embarcadero.

Pascal Game Development Under New Management

Sunday, April 6th, 2014

After (I think this is right) about a decade in charge of Pascal Game Development, Jason “WILL” McMillen has stepped down to focus on his growing family and his own game development goals. So, as of today… well, about Friday actually, PGD has new management in the form of yours truly :-)

It’s a seriously scary prospect, it’s one thing to be the behind the scenes administrator, but to step up to the front.  I just hope I can deliver :-)

Pascal Game Development

Embarcadero RAD in Action Webinar – Unit Testing

Thursday, January 30th, 2014

Just a quickie to let anyone who may be interested know that Nick Hodges is hosting a RAD in Action webinar for Embarcadero on February 12th 2014. The topic, as the post title suggests is unit testing in Delphi. You can register now at

Generics Saved My Sanity

Thursday, January 2nd, 2014

Quick introduction and then straight into it. As I’ve already mentioned, ORE (the game engine I started about 7 years ago during a Pascal Game Development competition) is being resurrected, although to be fair resurrected is a little strong… the original engine relied on unDelphiX and was pitiful when it came to performance, most notably so whenever I started to get ‘fancy’ ideas like alpha blended shadows. So, a resurrection isn’t quite accurate, it’s a complete new genetic code if you like… first up, it’s targetting Windows, Mac OSX, Android and iOS, so naturally it has to be some flavour of OpenGL if I am to retain my sanity (plus I know I can do alpha blending etc. with OpenGL with no really noticeable slowdown). (more…)