Archive for February, 2015

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.

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

Scam Tech Support – 08085550164

Saturday, February 7th, 2015

Just a heads up… if you’re in the UK and you or a relative (who is not as tech savvy as you might like them to be) get a call from 08085550164, then simply tell them you’re computer runs Linux and that they are trying to scam you.

The call opened with ‘Hello mam… this is ???? from Windows Technical Helpdesk. For the last few days we have been receiving errors from your computer. Is your computer switched on at the moment mam?’

I was asked what I could see on screen… I replied CentOS 6.5 and stated the computer ran Linux and that he was trying to scam me. *click* *beeeeeep*

So these guys are the standard IT support con job. The number doesn’t currently show up on google, so I’m posting this just to get it out there. And if this is your number or you are the provider of this number, I’d love for you to get in touch via the comments and explain to me (and anyone else who reads my site) how you can justify scamming people.

Of course you won’t so I’ll simply close with a statement… people like you are the scum of the earth, preying on people like my now sadly departed Grandma, or my Mum and Dad. People who may not be as tech savvy as they need to be in this day and age. I actually can’t decide who’s worse… the people who setup the scam, the people who supply the facilities they need or the people who sit on the end of the line making the calls. Morally bankrupt… all of you!

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