jaded-irregular

Posts Tagged ‘delphi’

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:-

pngImage.loadFromResourceName(HINSTANCE,'MYPNG');

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

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…)

Coderage 9 is coming – 28th-30th October 2014

Wednesday, October 15th, 2014

Embarcadero Coderage 9 Splash Image

Embarcadero are holding their on-line developers conference Coderage, later this month. The event is covering both C++ and Object Pascal this time around and features sessions from the likes of Nick Hodges, Marco Cantù, Jim McKeeth and Sarina DuPont (to name a few).

For more information and to sign up visit the Coderage 9 information page. The conference itself runs from 28th October to 30th October. Based on my experience of last years event, it’s well worth a visit.

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 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 http://embt.co/1eeHJXu.

Great XE5 Upgrade Offers

Sunday, December 15th, 2013

If you’re still using a version of Delphi that isn’t XE5, Embarcadero have some great offers running until the end of 2013 for upgrades to the XE5 versions of their development tools. Check them out here.

If you’re not familiar with what XE5 can offer you, then let me sum it up by simply saying you can write the bulk of an application once and then using two variants of the project you can target Windows and MacOSX (one variant) and iOS and Android (another variant).

Having tried out the Android tools myself, I can say it’s pretty dam good. If you are considering upgrading but have questions you’d like to ask someone other than a salesman, please feel free to signup an account here on my blog and post your question in the Delphi forum. If I can’t answer it immediately, I’ll break out XE5 and investigate or I’ll pop the question to the other MVPs.

CodeRage 8 Sessions On-line

Sunday, December 15th, 2013

For anyone who missed the excellent CodeRage 8 event from Embarcadero, the sessions are now online at http://www.youtube.com/playlist?list=PLwUPJvR9mZHiaYvH9Xr7WuFCVYugC4d0w.

The focus was Delphi XE5 and the sessions cover a whole range of topics with many focusing on the Android and iOS support of the new compiler. Head over and check them out.

Delphi on Android on a Tesco Hudl

Saturday, November 9th, 2013

Yes, in case you haven’t heard, it’s now possible to build an Android app (or Windows, Mac OSX, iOS for that matter) with the development tool that so many people thought was dead… Delphi. Or more precisely Delphi XE5. This is my first forray into the world of Android, so this post is going to cover driver installation and setup of a device in the Delphi IDE. Or more precisely, I’m going to provide some guidance on how to get a device that doesn’t ship with (or is not recognised by) development drivers and a little bit of an introduction to setting up a new device profile in Delphi XE5. (more…)

Bad Behavior has blocked 103 access attempts in the last 7 days.