CodeGear (Borland) "non finito": not properly a form of art

Posted on: Wed, 12/10/2008 - 00:25 By: ldsandon

While enabling a Delphi application to connect to its remote server using a TSocketConnection and not only a TDCOMConnection, I found ian ssue while I was returning Int64 data. It worked flawlessy via DCOM, but not via the easier-to-setup socket connection. What was happening? Well, in SConnect.pas there is this declaration:

[delphi]VariantSize: array[0..varLongWord] of Word = (...)[/delphi]

It is used in TDataBlockInterpreter.ReadVariant() to get the data size to be read from the stream the socket connection uses to pass data around:

Windows Mobile 6.1, Treo Pro and Wi-Fi: issue and solutions

Posted on: Sun, 10/12/2008 - 17:32 By: ldsandon

I got a Palm Treo Pro Windows Mobile 6.1 Professional device, and I had some issues to make it working with the two access points I usually use, a 3Com 3CRGPOE10075 I have at the office, configured with WPA2 Enterprise, and a 3Com 3CRWE454G72 (1.03.12 firmware) at home, using WPA-PSK. Here what I found, maybe it could help someone out there:

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> 

Subscribe to