Your full service technology partner! 
-Collapse +Expand
Search Delphi Group:

-Collapse +Expand Delphi To/From
-Collapse +Expand Delphi Store

Prestwood eMagazine

May Edition
Subscribe now! It's Free!
Enter your email:

   ► eMag   Print This    All Groups  
View Group Edition:
Full Edition Your Edition || Prev Next || Subscription Center

Prestwood IT Newsletter Aug 2010 Issue - Delphi Edition


Start subscribing now! It's free!

Each month on or after the 1st, and only once a month, we will send you content from up to 5 community groups. If you select this Delphi group, you'll receive the following content below mixed in with the other groups you elect to include.

Prestwood eMag
Our monthly opt-in coupons+newsletter.
  August 2010 - Delphi Edition (760 of 4,785 subscribers receive this group's content.) Year 12 Issue 8  
Your full service technology partner!

Expert guidance from working professionals!
Mike Prestwood
PrestwoodBoards topic:
PrestwoodBoards Reaches 11,000 Members!

Today PrestwoodBoards hit the 11,000 members mark!

IT Water-Cooler for Power-Users topic:
Stamp Out Spam
by Vicki Nelson

How to fight back against spam and reclaim your inbox. As you may know, the volume of spam messages sent across the Internet has reached epidemic levels. Some industry experts estimate that three out of every five e-mail messages that are sent today are spam. The spam epidemic is costing companies, professionals, and individual users considerable amounts of time, money, and resources.

What is spam, and what can I do about it? Spam is generally defined as an unsolicited mailing, usually sent to many recipients. Most spam is commercial advertising, often for dubious products, get-rich-quick schemes, or quasi-legal services. Spam costs the sender very little to send. Most of the costs are paid by the recipient or the carriers rather than the sender. Some effective methods for preventing your e-mail address from being captured, sold or abused by spammers in the full version of this article. Click the title to read more.

Role-Based Tech Talk topic:
Crash, Bomb, Hang, and Deadlock
by Scott Wehrly
This article explores and defines the following terms: crash, bomb, hang, deadlock, exception, fatal error, and blue screen of death.

Off Shoring topic:
Off-shoring: You CAN fight back!
by Wes Peterson

Are you fed up with calling a company and finding yourself speaking to somebody in a foreign country? 

I am, and I've just learned of an effective way to fight back, help return jobs to America, and keep them here.

The best part? We don't have to wait for government to do a thing.

 Delphi Group Top 
Visit Group | My Group Settings
Delphi for Win32 topic (classic post):
Delphi: Encryption of data fields
by Scott Wehrly
This article discusses the reasons and methods for encrypting data fields in Delphi.

OOP topic (classic post):
Delphi Member Modifiers
by Mike Prestwood

Specify Delphi member modifiers as follows:

reintroduce; overload; [binding modifier]; [calling convention]; abstract; [warning]

The binding modifiers are virtual, dynamic, or override. The calling conventions are register, pascal, cdecl, stdcall, or safecall. The warnings are platform, deprecated, or library. Additional directives include reintroduce, abstract, class, static, overload, and message.

 Monthly Delphi Lesson
OOP Topic:
Code Snippet of the Month

Object Pascal supports static methods, but not static member fields. For static member fields, use traditional Pascal-like global variables. Since Object Pascal is a hybrid language, you can use global functions and data so the need for class methods is diminished but still useful. Delphi 1-7: All classes in a unit are friendly (see eachother's private members), some developers like to put each class in it's own unit and reserve putting multiple classes in the same unit until they wish to implement friendly classes. Delphi 2005+: New strict keyword allows you to indicate friendly.


TMyUtils = class(TObject)
class function MyStaticMethod: Integer;

In implimentation:

class function TMyUtils.MyStaticMethod: Integer;

OOP Topic:
Definition of the Month: Strict Visibility
The Strict specifier tightens up the scope for private and protected. With Strict Private, members within a class are visible ONLY within the class declared and Strict Protected are visible only within the class declared and descendent classes. Without strict, private and protected members can also be seen by all classes declared in the same unit (friendly classes). The Strict specifier was introduced with Delphi for .Net preview in Delphi 7 in an update to the .Net compiler preview and with Win32 in Delphi 2005 to fully comply with the .NET CLS. Delphi's traditional private specifier maps to the CLR's assembly visibility and the protected specifier maps to the CLR's assembly or family visibility.
Delphi for Win32 Topic:
Resource Link of the Month: Magazine: Blaise Pascal

With the demise of Delphi Informant, we've gone quite a while without a good, English language Delphi periodical.

It's exciting, then, so see the appearance of an English edition of Blaise Pascal, especially given it's lineup of writers; Nick Hodges, Bob Swart, Kim Madsen, Julian Bucknall, Jeremy North, and Hallvard Vassbotn. That's a virtual "who's who" of the lofty world of Delphi gurus.

A quick, simple, free registration gets you access to a PDF version of one issue. Check it out!

OOP Topic:
FAQ of the Month: Sealed Classes

What is a sealed class?


A class which prevents another class from inheriting from it and/or prevents another class from overriding a member. The concept of making sure a class is the last class in a descendant class tree.

Examples - /ASPSuite/KB/CrossRef.asp?LangID=&ToLangID=&CatID=10&SyntaxID=4

Using Data Topic:
Tip of the Month
Before adding many new entries to a TStringList, set its Sorted property to false. Add all your entries. Finally, set the Sorted property back to True (if desired). Sorting is expensive, in terms of macnine cycles. By leaving the Sorted property set to True, you force the TStingList to re-sort itself after each entry. This can significantly slow things down. This applies to TStrings, as well, and all components that have a TStrings property, like TListBox, etc.

Sales Website: Or visit our legacy sales site:

©1995-2021 Prestwood IT Solutions.   [Security & Privacy]