Archive for the 'CodeGear' Category
(Chronologically Listed)
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 | 14 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 »Delphi check-in log entries of the day:
25232 trunk/com/ scanner.c Thu Oct 8 20:41:10 2009 UTC ytagawa
Log:
[dcc64]
(scanner.c) Don’t define ASSEMBLER for x64 for awhile.
25224 trunk/com/ codegen.c Thu Oct 8 12:35:00 2009 UTC eboling
Log:
Refactoring in PassParams to support changes to stack alignment code.
Changed the logic for aligning the stack for parameter lists for the Mac.
I’ll just leave that little tidbit for you [...]
Posted by Allen Bauer on October 8th, 2009 under CodeGear, Delphi, General, Work | 25 Comments »What happened to version 13?
During the RAD Studio 2010 field test and now out in the Delphi non-tech newsgroups, there had been a lot of discussion, speculation and even some angst about the mysterious lack of version 13. Chill folks. The story is simple with no real conspiracies involved. In fact, the only conspiracy involved was that we knew [...]
Posted by Allen Bauer on September 4th, 2009 under CodeGear, Delphi, General, IDE, Work | 13 Comments »Class Constructors. Popping the hood.
My last post introduced class constructors and destructors, a new language feature in Delphi 2010. I mainly covered what they were and what kinds of things they’re good for. In this post I’ll cover some of how they’re implemented. I’m sure the question on everyone’s mind is when and how they’re invoked? If you were [...]
Posted by Allen Bauer on September 4th, 2009 under CodeGear, Delphi, Work | 8 Comments »Class (, Static, or Shared) Constructors (and Destructors)
In my last post, I hinted at a new native Delphi language feature, class constructors and destructors. For those familiar with, say, C# or VB.NET, they are called a ‘static’ constructor (C#), or a ‘shared’ constructor (VB.NET). Let’s now take a closer look at them in terms of how they’re useful along with a little [...]
Posted by Allen Bauer on September 3rd, 2009 under CodeGear | 7 Comments »Exceptional Procrastination
I kept putting this post off… ok, ok… that was a really bad pun…
Seems there was a little bit of concern about my last post regarding the new ‘delayed’ directive. Christian Wimmer had a few critiques regarding the implementation and how the exception that was raised was an EExternalException with an obscure exception code. There [...]
Procrastinators Unite… Eventually!
We’re all taught at an early age to “Never put off until tomorrow that which can be done today.” In general, that is wise advice. However there are some cases where you do want to wait until the last possible moment to do (or not do) something. In fact, that is one of the overall [...]
Posted by Allen Bauer on August 25th, 2009 under CodeGear | 29 Comments »The “Nitty Gritty” details on Casting an Interface Reference in Delphi 2010
Malcolm Groves let loose on a new Delphi compiler feature where you can now cast an interface reference to the implementing Delphi class. Joe White was interested in the “gritty” details about how this was implemented. It turns out that it was deceptively easy once I figured out the internal compiler logic for handling “is” [...]
Posted by Allen Bauer on August 21st, 2009 under CodeGear | 8 Comments »A Tempest in a Teapot or something more sinister?
If you’re a well connected internet maven who also happens to be a Delphi user, you’re probably no doubt aware of some of the recent reports about a new virus/trojan threat that hits pretty close to home. There are many reports among the mainstream internet press that are discussing the emergence of a virus affectionately [...]
Posted by Allen Bauer on August 20th, 2009 under CodeGear | 26 Comments »

