Watch, Follow, &
Connect with Us

The Oracle at Delphi













Older Stuff



Archive for January, 2010

There may be a silver lining after all

After having to deal with all the stack alignment issues surrounding our move to target the Mac OS, I’d started to fear that I would get more and more jaded cynical about the idiosyncrasies of  this new (to many of us) OS. I was pleased to hear from Eli that he’d found something that, at [...]

Posted by Allen Bauer on January 29th, 2010 under Delphi, General, Work | 1 Comment »

Requiem for the {$STRINGCHECKS xx} directive…

It’s time. It’s time to say goodbye to the extra behind-the-scenes codegen and overhead that was brought to us during the Ansi->Unicode transition. We’ve shipped two versions with this directive on by default. The Ansi world is now behind us. It’s only real purpose in life was to assist C++Builder customers to more easily transition [...]

Posted by Allen Bauer on January 26th, 2010 under CodeGear, Delphi, Work | 15 Comments »

Divided and Confused

Odd discovery of the day. Execute the following on a system running a 32-bit version of Windows (NOT a Win64 system!):

program Project1;

{$APPTYPE CONSOLE}

uses
SysUtils;

begin
try
MSecsToTimeStamp(-1);
except
on E: Exception do
Writeln(E.ClassName, ‘: ‘, E.Message);
end;
end.

It should print out the [...]

Posted by Allen Bauer on January 25th, 2010 under CodeGear, Delphi, General, Work | 5 Comments »

Mac OS Stack alignment – What you may need to know

While I let my little tirade continue to simmer, I figured many folks’ next question will be “Ok, so there may be something here that affects me. What do I need to do?” Let’s first qualify who this will affect. If you fall into the following categories, then read on:

I like to use the built-in [...]

Posted by Allen Bauer on January 15th, 2010 under Delphi, General, Work | 9 Comments »

It’s my stack frame, I don’t care about your stack frame!

I’m going to start off the new year with a rant, or to put it better, a tirade. When targeting a new platform, OS, or architecture, there will always be gotchas and unforeseen idiosyncrasies about that platform that you now have to account for. Sometimes they are minor little nits that don’t really matter. Other [...]

Posted by Allen Bauer on January 14th, 2010 under Delphi, General, Work | 19 Comments »

Server Response from: BLOGS1