Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
5Activity

Table Of Contents

Introduction
ABOUT THE AUTHORS
CHAPTER 1 32-Bit Console Applications
Console Applications
Filters
Console Applications and Delphi
Hello, Delphi
Saving a Program Template
Console Input and Output
Filter Programs in Delphi
Your Basic Filter Program
Processing the Command Line
Command Line Options
A Reusable Command Line Parser
A Critique
What to Do with Windows Code?
Responding to Windows Messages
Custom Controls
Subclassing
Defining the Interface
Implementing the New Interface
CHAPTER 3 32-Bit Delphi DLLs—When, Why, How
What’s a DLL and Why Do I Want One?
How Do I Do It?
Building a DLL
Calling DLL Functions
Linking DLLs at Runtime
Where Windows Looks for DLLs
DLLs: Disadvantages and Cautions
Sharing Memory Between Applications
The DLLProc Variable
CHAPTER 4 The Delphi Winsock Component
What Is Winsock?
Dissecting WSock
Running the Resolver Application
What’s My Name?
What’s the Address?
What’s Your Name?
Getting the Name Asynchronously
Who’s at This Address?
Canceling a WSAAsync Operation
Resolving Ports and Services
Finding the Service
Resolving Protocols
To Block or Not
CHAPTER 5 Shopper: An FTP Client Component
Are You Being Served?
The Shopper Component
Displaying Output
Putting Shopper to Work
CHAPTER 6 3D Fractal Landscapes
Bending and Dividing
The Shared Edges Problem
Bending
Draw, Then Display
Generating and Displaying the Landscape
Create Your Own Worlds
CHAPTER 7 Problems with Persistents, and Other Advice
Reading to Write?
Reasonable Workarounds
A Little Perspective
Using RDTSC for Pentium Benchmarking
Drag-and-Drop Rectangles for a Delphi Listbox
Making String Collections More List-Like
Letting Delphi Applications Set Up Themselves
Using INHERITED with Redeclared Properties in Delphi
Taking Snapshots of the Screen with Delphi
CHAPTER 8 Animated Screen Savers in Delphi
Secrets of the Main Form
Adapting to the Environment and the User
Idle Work
Animation
Callback Functions
A Color ComboBox
CHAPTER 9 The Shadowy Math Unit
Three Good Reasons to Use the Math Unit
Dynamic Data and Static Declarations
Creating TDBStatistics
Defining the Component’s Tasks
Getting Access to the Data
Making the Data Available
Test Driving the DBStatistics Component
Bugs in the Math Unit
Poly: The Function That Got Away
Filling the Pascal Power Gap
Math Unit Function Summary
Trigonometric Functions and Procedures
Arithmetic Functions and Procedures
Financial Functions and Procedures
Statistical Functions and Procedures
CHAPTER 10 Dynamic User Interfaces
An Example “UI-It-Yourself” Application
Building-in a “Delphi” for Your Users
Moving Controls
Abandoning Changes
Changing the Tab Order at Runtime
Changing Other Properties
Alternate Paths to a Stream
Toward More Flexible User Interfaces
One-to-Many Hierarchies
Simple Recursive Hierarchical Data
Class TQuery as a Detail DataSet
Displaying the Data
Using the Data
Finding Rows
Using Hierarchical Data in Queries
Referential Integrity and Circular References
Using SQL
Solving the Problem of Arbitrary Nesting
Using Stored Procedures
The TreeData Components
TreeData Property Management
TreeData Component Internals
TreeDataComboBox
TreeDataListBox
TreeDataOutline and TreeDataUpdate
End Note
An Evening at the Office
An Urgent Plea
The Disappearance
At the “Sleeveless Arms”
Doing the Old ‘Drag/Drop’
Kind of a Drag
Dropping the Payload
Packing Paradox and dBASE Tables
Different Strokes
Playing a .WAV File
Some Sound Advice
CHAPTER 13 A Revelation in the Mud
Resizing Forms
Making a Splash
Ace Gets an Answer
Making Data Global to an Application
An Exciting Discovery!
Taking Win95 for a Walk
Just Say “Cheese”
The WalkStuf Unit
Stepping Out
CHAPTER 14 The Oracle Returns
Down a Crooked Path
Just One More Thing…
Before the Beginning
Floating Toolbars
Ace Gets the Goods
Epilogue
CHAPTER 15 An Age-Old Problem
Facing the Situation
Specifying the Problem
Designing the DLL
Startup Code
Signals from a Semaphore
Shutdown Code
Examining the DLL Routines
Creating the Receiver Component
Subclassing the Owner Window
Other Interesting Stuff
Creating a Receiver Demo
Creating a Sender Demo
Index
0 of .
Results for:
No results containing your search query
P. 1
(eBook - PDF) Kick Ass Delphi Programming

(eBook - PDF) Kick Ass Delphi Programming

Ratings: (0)|Views: 1,363|Likes:
Published by Florin-Adrian Nitu

More info:

Published by: Florin-Adrian Nitu on Jun 06, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/11/2013

pdf

text

original

You're Reading a Free Preview
Pages 10 to 43 are not shown in this preview.
You're Reading a Free Preview
Pages 53 to 309 are not shown in this preview.
You're Reading a Free Preview
Pages 319 to 379 are not shown in this preview.
You're Reading a Free Preview
Pages 389 to 475 are not shown in this preview.
You're Reading a Free Preview
Pages 485 to 493 are not shown in this preview.

Activity (5)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
tarnoscribd liked this
vmishka liked this
repartout liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->