RAD 2007: overriding project settings with MSBuild

Posted on: Thu, 06/12/2008 - 17:30 By: ldsandon

While building a project outside the IDE you could need to change some project settings, for example the output folder. It can be accomplished using the /p switch, the same used to set which configuration to build. If you open the .dprj file, you will see several <DCC_xxxxxx> nodes under each <PropertyGroup> node. These values can be overriden from the command line, each property separated by a semicolon. Here an example from an actual build configuration I use in CruiseControl.Net, to set the exe and dcu output folders:


XP SP3 kills the address bar

Posted on: Fri, 05/09/2008 - 21:04 By: ldsandon

Today the Windows Update Service at the office offered me XP SP3 (as a developer, I have the privilege to choose which update to install). I knew about no issue about the tool I use, and decided to install it.

When I rebooted, the quick launch bar and address bar were gone! Ok, let's re-enable them, I thought. The quick launch bar was simply disabled - but the "Address bar" item in the tool bars menu was gone!

The useful App Paths registry key

Posted on: Mon, 04/07/2008 - 12:18 By: ldsandon

Yesterday on the Italian Delphi newsgroup run by Marco Cantù, Delphi&Dintorni, appeared a post asking how to load BPLs without writing them in the system directory or in the application directory.
I suggested to use the "App paths" registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths], but while looking for a reference for its proper use I didn't find a complete one, even on MSDN. It looks to be poorly documented, yet it's a very useful key.

Running BDS2006 and RAD2007 on the same PC

Posted on: Tue, 10/30/2007 - 17:58 By: ldsandon

The "non-breaking" release RAD2007 has the nasty habit to break an existing BDS2006 installation because packages - including those used by the IDE - have the same names, and usually the RAD 2007 path comes before the BDS2006 path - and thereby BDS2006 attempts to load the wrong packages.
A workaround is to use DLL redirection, a feature of the Windows loader that allows to load DLLs from the application path first, ignoring the path.

Delphi 2007 Handbook

Posted on: Thu, 09/20/2007 - 23:13 By: ldsandon

Marco Cantù has published a new book, the Delphi 2007 Handbook. Unlike the previous books in the "Mastering Delphi" series, this book is more aimed to actual Delphi programmers needing a guidance to update their skill and applications to the latest release of Delphi and Windows operating systems. This book covers the "Win32 personality" of Delphi/Developer Studio only - no .net here :)

Codegear the never ending sale

Posted on: Mon, 08/20/2007 - 15:45 By: Administrator

CodeGear CEO Jim Douglas has answered Marco Cantù regarding his open letter to Todd Nielsen. What Marco disclosed is available here

As usual, "The rationale behind those comments relates with shareholder expectations." Which means that shareholders hoped to get more money, even if it means to kill the milk cow or buy some subprime mortgages <G> 

Delphi the cash cow: no milk enough for Mr. Nielsen

Posted on: Sat, 08/18/2007 - 00:30 By: Administrator

Marco Cantù posted an open letter to Borland CEO Tod Nielsen after he blamed CodeGear for earning just $1.3 millions in the second quarter, and therefore not helping enough to cover the $12 million loss of the "solid revenues" from the ALM business, now that ALM tools became the main company products and the "commodity" IDE business was spun off.

mwpugln is a spam user targeting Drupal sites - delete it!

Posted on: Thu, 08/16/2007 - 11:03 By: Administrator

Many Drupal sites are being accessed by a user named mwpugln. And googling a bit, I saw many administrators wondering what user it is. Well, it's not difficult to find out it's just a bot used to spam Drupal sites, adding comments containint links to the usual spam-advertised products. It looks to be a bot because it uses several different IPs scattered around the world:

Are "zealots" a damage to Delphi?

Posted on: Tue, 07/10/2007 - 21:00 By: Administrator
In the past months I've seen an increased number of Delphi "zealots", I mean those developers who worship their tool no matter how good it is actually. Some was swearing Delphi 2005 was not an a slipped alpha release, others were sure Delphi 2006 was a good release while every day it crashes several times and gobs hundreds megabytes of RAM, and keeps on wiping out my type libraries. I didn't tried Delphi 2007 yet, because its new features didn't justify an upgrade (for us) - but the increased stability, if true - I am very careful to listen to the "zealots" now.
Subscribe to