Delphi

A case when FreeAndNil is your enemy

Author: Allen It seems that my previous post about FreeAndNil sparked a little controversy. Some of you jumped right on board and flat agreed with my assertion. Others took a very defensive approach. Still others, kept an “arms-length” view. Actually, the whole discussion in the comments was very enjoyable to read. There were some very excellent cases on both sides. Whether or not you…
Read more
Delphi

Delphi 2010 DirectWrite "Hello World" Example

Author: Sinisa P29531 In my previous post I have translated Windows 7 SDK Direct2D “Advanced Geometries” examplefrom C++ to Delphi 2010 code. That was a lot of fun, so I have decided to continue the adventure in the realm of Direct2D programming and this…
Delphi

DataSnap Server Methods Parameters

Author: Jim T1392 Delphi 2009 introduced support for DataSnap server methods. If you are not familiar with this feature, here are two articles that describe server methods: DataSnap 2009 Overview , Getting Started with Delphi DataSnap 2009. DataSnap server methods support a variety of parameter and return types. The following list showsthe types grouped into my own categories. This…
Read more
Delphi

Writing games with Delphi. Ideas?

Author: Aaron Rosenberg How would you approach creating a game with Delphi? I keep playing with Delphi Prism and recently downloaded XNA Game Studio 3.0. It installs very nicely into Delphi Prism. I wonder what is the most commonly used software for creating games that will run on Windows, but also game consoles like Wii, XBox and Playstation and portables like Nintendo DS. Do you remember…
Read more
Delphi

A "Nullable" Post

Author: Barry K21557 [This blog post is by Allen Bauer, but during the blog engine migration was attributed to the wrong author.] Solving problems can be fun and challenging. What is really challenging is solving a problem using only the tools at hand. During the development…
Delphi

Dynamic Creation of IntraWeb Components

Author: Craig Stuntz For the past couple of days I’ve been working on an experimental IntraWeb (a.k.a., “VCL for the Web”) project. Since I typically generate user interfaces dynamically, I wanted to see how that worked with IntraWeb. On the surface, it’s…
Delphi

Installing ActiveX Controls in RAD Studio 2007

Author: Craig Stuntz The procedure for installing ActiveX controls on the Delphi/RAD Studio 2007 component palette is apparently confusing to some users of older versions of Delphi. So here’s a simple example. In this example, I’m installing the type libraries needed to use the Crystal Reports 9 ActiveX viewer, and the associated runtime type library. First I create a package…
Read more