Show: Delphi
C++
Display Preferences
C++Builder Developer's Guide
From RAD Studio XE3
Go Up to Win32 Developer's Guide Index
The C++Builder Developer's Guide contains information for both Delphi and C++.
Tip: To select the language you want to see, click the Display Preferences control, located in the upper right corner of the page. To see C++ information only, enable the C++ checkbox and disable the Delphi checkbox, as shown here:
Part I: Programming with C++Builder
Developing Applications with C++Builder
- Integrated Development Environment
- Designing Applications
- Creating Projects
- Editing Code
- Compiling Applications
- Debugging Applications
- Deploying Applications
Understanding the Component Library
Using the RTL Index
- Using the RTL (Run-Time Library)
- Using Streams
- Working with Files
- Working with Lists
- Working with String Lists
- Working with Strings
- Creating Drawing Spaces
- Colors in VCL
- Printing
- Converting Measurements
- Defining Custom Variants
- Using the Floating-Point Rounding Routines
Working with Components Index
- Setting Component Properties
- Calling Methods
- Working with Events and Event Handlers
- Adding Custom Components to the Tool Palette
Working with Controls Index
- Implementing Drag and Drop in Controls
- Implementing Drag and Dock in Controls
- Working with Text in Controls
- Adding Graphics to Controls
- Screen Scaling and ChangeScale
Building Applications, Components, and Libraries Index
- Creating Applications
- Creating Packages and DLLs
- Writing Database Applications
- Creating Web Server Applications
- Writing Applications Using COM
- Using Data Modules
- Using the Object Repository
- Enabling Help in Applications
Developing the Application User Interface Index
- Developing the Application User Interface - Overview
- Controlling Application Behavior
- Using the Main Form
- Using Forms
- Reusing Components and Groups of Components
- Creating and Using Component Templates
- Working with Frames
- Developing Dialog Boxes
- Organizing Actions for Toolbars and Menus
- Using Action Lists
- Creating and Managing Menus
- Designing Toolbars and Cool Bars
- Common Controls and XP Themes
Types of Controls Index
- Text Controls
- Specialized Input Controls
- Buttons and Similar Controls
- List Controls
- Grouping Controls
- Display Controls
- Grids
- Value List Editors
- Graphic Controls
Working with Graphics and Multimedia Index
- Working with Graphics and Multimedia - Overview
- Overview of Graphics Programming
- Refreshing the Screen
- Types of Graphic Objects
- Common Properties and Methods of Canvas
- Using the Properties of the Canvas Object
- Using Canvas Methods to Draw Graphic Objects
- Handling Multiple Drawing Objects in Your Application
- Drawing On a Graphic
- Loading and Saving Graphics Files
- Using the Clipboard with Graphics
- Rubber Banding Example
- Working with Multimedia
Writing Multithreaded Applications Index
- Writing Multi-threaded Applications
- Defining thread objects
- Coordinating threads
- Executing thread objects
- Debugging Multi-threaded Applications
Exception Handling in C++Builder
- Standard C++ Exception Handling
- Structured Exceptions Under Win32 (C++)
- VCL Exception Handling in C++
- C++Builder Exception Handling Compiler Options
- External Exception EEFFACE
Language Support for the VCL (C++)
- C++ and Object Pascal Object Models
- Support for Object Pascal Data Types and Language Concepts
- Typedefs
- C++ Classes that Support the Object Pascal Language
- C++ Language Counterparts to the Object Pascal Language
- Open Arrays
- Types Defined Differently
- Delphi to C++ types mapping
- Delphi Interfaces
- Resource Strings
- Default Parameters
- Run-time Type Information
- Unmapped Types
- C++ Keyword Extensions
- The __declspec Keyword Extension
Working with Packages and Components Index
- Working with Packages and Components - Overview
- Why Use Packages
- Runtime Packages
- Design-time Packages
- Creating and Editing Packages
- Deploying Packages
Creating International Applications Index
- Internationalization and Localization
- Deploying Localized Applications
- Localizing Applications by Using Translation Manager
Deploying RAD Studio Applications
- Deploying Applications - Overview
- Deploying General Applications
- Deploying Database Applications
- Deploying Web Applications
- Programming for Varying Host Environments
- Software License Requirements
Part II: Developing Database Applications
Designing Database Applications - Overview
Using Data Controls
- Using Common Data Control Features
- Choosing How to Organize the Data
- Displaying a Single Record
- Displaying Data as Labels
- Displaying and Editing Fields in an Edit Box
- Displaying and Editing Text in a Memo Control
- Displaying and Editing Text in a Rich Edit Memo Control
- Displaying and Editing Graphics Fields in an Image Control
- Displaying and Editing Data in List and Combo Boxes
- Displaying and Editing Data in Lookup List and Combo Boxes
- Viewing and Editing Data with TDBGrid
- Creating a Grid That Contains Other Data-aware Controls
- Navigating and Manipulating Records
Connecting to databases Index
Understanding datasets Index
- Understanding Datasets - Overview
- Using TDataSet Descendants
- Determining Dataset States
- Opening and Closing Datasets
- Navigating Datasets
- Searching Datasets
- Displaying and Editing a Subset of Data Using Filters
- Modifying Data
- Calculating Fields
- Types of Datasets
- Using Table Type Datasets
- Using Query-type Datasets
- Using Stored Procedure-type Datasets
- Executing Stored Procedures That Don't Return a Result Set
Working with field components Index
- Working with Field Components - Overview
- Dynamic Field Components
- Persistent Field Components
- Creating Persistent Fields
- Arranging Persistent Fields
- Defining New Persistent Fields
- Deleting Persistent Field Components
- Setting Persistent Field Properties and Events
- Setting Display and Edit Properties at Design Time
- Setting Field Component Properties at Runtime
- Creating Attribute Sets for Field Components
- Associating Attribute Sets with Field Components
- Removing Attribute Associations
- Controlling and Masking User Input
- Using Default Formatting for Numeric, Date, and Time Fields
- Handling Events
- Working with Field Component Methods at Runtime
- Displaying, Converting, and Accessing Field Values
- Setting a Default Value for a Field
- Working with Constraints
- Using Object Fields
Using BDE Index
- Executing an Update Statement
- Using Multiple Update Objects
- Connecting to databases with TDatabase
- Managing database sessions
- Using BDE-enabled datasets
- Using TBatchMove
- Using the BDE to cache updates
- Using transactions with the BDE
Working with ADO components Index
- Working with ADO Components
Using dbExpress Components Index
- Using dbExpress Datasets
Using client datasets Index
- Using Client Datasets - Overview
- Working with Data Using a Client Dataset
- Using a Client Dataset to Cache Updates
- Using a Client Dataset with a Provider
- Using a Client Dataset with File-based Data
- Using a Simple Dataset
Using provider components Index
- Using Provider Components
- Determining the Source of Data
- Communicating with the Client Dataset
- Choosing How to Apply Updates Using a Dataset Provider
- Controlling What Information Is Included in Data Packets
- Responding to Client Data Requests
- Responding to Client Update Requests
- Responding to Client-generated Events
- Handling Server Constraints
Creating multi-tiered applications Index
- Creating Multi-tiered Applications - Overview
- Advantages of the Multi-tiered Database Model
- Understanding Multi-tiered Database Applications
- Building a Multi-tiered Application
- Creating the Server Application
- Creating a DataSnap Server
- Filtering the DataSnap Communication Stream
- Setting Up the Data Module
- Exposing DataSnap Server Methods
- Supporting Master/detail Relationships
- Supporting State Information in Exposed Data Modules
- Using Multiple Server Data Modules (COM)
- Extending the Interface of the Application Server (COM)
- Managing Transactions in Multi-tiered Applications (COM)
- Registering the Application Server
- Creating the Client Application
- Writing Web-based Client Applications
Using XML in database applications Index
Part III: Writing Internet Applications
Creating Internet server applications Index
- Creating Internet Applications - Overview
- About Web Broker and WebSnap
- Terminology and standards
- HTTP server activity
- Types of Web Server Applications
- Debugging server applications
Using Web Broker Index
- Using Web Broker
- Creating Web Server Applications with Web Broker
- The Structure of a Web Broker Application
- The Web Dispatcher
- Action Items
- Responding to Request Messages with Action Items
- Accessing Client Request Information
- Creating HTTP Response Messages
- Generating the Content of Response Messages
- Using Database Information in Responses
Using IntraWeb (VCL for the Web) Index
- Getting Started with IntraWeb
- Creating Web Server Applications Using IntraWeb
- Using IntraWeb Components
- Using IntraWeb with Web Broker and WebSnap
Working with XML documents Index
- Working with XML Documents
- Using the Document Object Model
- Working with XML Components
- Abstracting XML Documents with the Data Binding Wizard
Using Web Services Index
- Using Web Services
- Understanding Invokable Interfaces
- Writing Servers that Support Web Services
- Writing Clients for Web Services
Working with Sockets
- Implementing Services Overview
- Types of Socket Connections
- Describing Sockets
- Using Socket Components - Overview
- Responding to Socket Events
- Reading and Writing Over Socket Connections - Overview
Part IV: Developing COM-based Applications Index
Overview of COM Technologies
- COM basics Index
Working with Type Libraries
- Working with type libraries
- Working with Type Libraries - Overview
- Type Library Editor
- Using the Type Library Editor
- Valid Types
- Using Object Pascal or RIDL Syntax
- Creating a New Type Library
- Opening an Existing Type Library
- Adding an Interface to the Type Library
- Modifying an Interface Using the Type Library
- Adding Properties and Methods to the Type Library
- Adding a CoClass to the Type Library
- Adding an Interface to a CoClass
- Adding an Enumeration to the Type Library
- Adding an Alias to the Type Library
- Adding a Record or Union to the Type Library
- Adding a Module to the Type Library
- Saving and Registering Type Library Information
- Apply Updates Dialog
- Saving a Type Library
- Refreshing the Type Library
- Registering the Type Library
- Deploying Type Libraries
Creating COM Clients
- Creating COM clients
Creating Simple COM Servers
- Creating simple COM servers
- Creating Simple COM Servers - Overview
- Designing a COM Object
- Using the COM Object Wizard
- Using the Automation Object Wizard
- COM Object Instancing Types -- not seen in C++ TOC ??
- Choosing a Threading Model
- Defining a COM Object's Interface
- Automation Interfaces
- Marshaling Data
- Registering a COM Object
- Testing and Debugging the Application
Creating an Active Server Page
Using ActiveX Controls
- Using ActiveX controls
- Creating an ActiveX Control
- Elements of an ActiveX Control
- Designing an ActiveX Control
- Generating an ActiveX Control from a VCL Control
- Generating an Active Form Based on a VCL Form
- Creating a 64-bit Windows C++ ActiveX Form or ActiveX Control
- Licensing ActiveX Controls
- Customizing the ActiveX Control's Interface
- Creating a Property Page for an ActiveX Control
- Registering an ActiveX Control
- Testing an ActiveX Control
Part V: Component Writer's Guide
- Introduction to Component Creation
- Object-oriented Programming for Component Writers
- Creating Properties
- Creating Events
- Creating Methods
- Using Graphics in Components
- Handling Messages
- Making Components Available at Design Time
- Modifying an Existing Component
- Creating a Graphic Component
- Customizing a Grid
- Making a Control Data Aware
- Making a Dialog Box a Component
- Extending the IDE (Tools API)
