Cross-platform Special Folders in FireMonkey

There was a question on the ADUG list last week about how to retrieve “special folder” locations on OS X. By special folder, I mean locations like the user’s Home directory, the Documents directory, Temp directory, etc. I thought I’d write up the solution both because it’s probably something that more people will be wondering and also because it’s a nice little introduction to calling out to the OS X API.

If you want either the path to the Home or the Temp directory, this is ridiculously easy. The IOUtils unit already contains TPath.GetTempPath and TPath.GetHomePath, and these work on both Windows and OS X.

However, if you want another directory, such as the Documents directory, you need to do a little more work.

Read On…

OS X : Folder Comparison with FileMerge

I know a number of people in the Delphi and C++Builder world are taking their first steps into OS X. To be honest, I’m not that many steps in either. So I thought I’d start posting some tips as I strike problems and solve them, so hopefully it’ll help someone else.

Today’s problem (and solution) was the need to do a file and folder comparison on OS X. I’d had a few reports that this blog was not working properly on older versions of Firefox (Firefox 3.6) and wanted to see if I’d mucked up anything when changing the theme. I downloaded a fresh copy of the base theme and wanted to see all the differences between it and the version I’m using.

Read On…

RAD Studio World Tour, now with more cities and a few more details.

I promised to post more details of these upcoming events when I could. Well, now I can.

Current cities:

…and here’s the very high-level description:

Whether you are building new applications, or migrating existing systems, this workshop will help you decide where to invest your team’s time and effort to make the most positive impact on your business, today and into the future.

You will hear about:

  • Application frameworks
  • Delphi 64-bit
  • The future of database access
  • DataSnap and Cloud
  • Mobile development

 

Before you ask, yes, there will be more cities and countries added soon. Not just in Asia but around the world.