Book description
C++Builder 6 Developer's Guide is revised for the latest version of C++Builder, the biggest update to C++Builder in years. C++Builder is an ANSI C++ IDE. The Version 6 adds BizSnap, a tool to build Web Services using XML/SOAP, .NET, and BizTalk from Microsoft, and SunONE from Sun Microsystems. Other new components include WebSnap for Web application development, DataSnap for database development, and CLX, which allows cross-platform development for Unix and Linux. The new NetCLX Internet components allow development of cross-platform applications with Apache, Microsoft IIS, and Netscape Web Server applications. C++Builder 6 Developer's Guide continues as the definite guide for Borland's C++Builder, providing a clear and concise reference for C++ Developers.
Table of contents
- Copyright
- About the Author
- Acknowledgments
- We Want to Hear from You!
- Introduction
-
I. C++Builder Essentials
- 1. Introduction to C++Builder
-
2. C++Builder Projects and More on the IDE
- C++Builder IDE Features
- Understanding C++Builder Projects
- Understanding and Using Packages
- Using the C++Builder Interactive Debugger
- Advanced Debugging
- Speeding Up Compile Times
- Summary
-
3. Programming in C++Builder
-
Better Programming Practices in C++Builder
- Use a String Class Instead of char*
- Understand References and Use Them Where Appropriate
- Avoid Using Global Variables
- Understand and Use const in Your Code
- Be Familiar with the Principles of Exceptions
- Use new and delete to Manage Memory
- Understand and Use C++-Style Casts
- Know When to Use the Preprocessor
- Learn About and Use the C++ Standard Library
-
VCL Overview
- It All Starts at TObject
- Building on Existing Objects
- Using the VCL
-
The C++ Extensions
- The __automated Class Extension
- The __classid(class) Class Extension
- The __closure Class Extension
- The __declspec Class Extension
- __declspec(delphiclass, package)
- __declspec(delphireturn, package)
- __declspec(dynamic)
- __declspec(hidesbase)
- __declspec(hidesbase, dynamic)
- __declspec(package)
- __declspec(pascalimplementation)
- The __fastcall Keyword
- The __property Keyword
- The __published Keyword
- VCL and CLX
- Review of the Component Palette
-
Creating User Interfaces
- Component Templates and Frames
- Frames
- Coping with Different Screen Conditions
- Coping with Complexity in the Implementation of the User Interface
- Enhancing Usability by Allowing Customization of the User Interface
- Working with Drag and Drop
- The Solution
- The Code
- How Does It Work?
- Wrapping Up Drag and Drop
- Nonvisual Components and Programming
- Creating Multithreaded Applications
- Summary
-
Better Programming Practices in C++Builder
-
4. Creating Custom Components
- Creating, Compiling, and Installing Packages
-
Creating Custom Components
- Understanding Component Writing
- Writing Nonvisual Components
- Writing Visual Components
- Creating Custom Data-Aware Components
- Registering Components
- The Streaming Mechanism
-
Distributing Components
- Where Distributed Files Should Be Placed
- Naming Packages and Package Units
- Naming Components
- Distributing Only a Design Time-Only Package
- Distributing Components for Different Versions of C++Builder
- Creating Component Palette Bitmaps
- Using Guidelines in the Design of Components for Distribution
- Taking a Look at Other Distribution Issues
- Summary
- 5. Creating Property and Component Editors
-
II. Database Programming
- 6. Borland Database Component Architecture
- 7. Database Programming
- 8. The Borland Database Engine
- 9. Client Datasets and Client Dataset Enhancements
- 10. Interbase Express
-
11. ADO Express Components for C++Builder
- ADO Versus BDE
- Component Overview
- Database Connections
-
Accessing Datasets
- Accessing a Dataset with TADOTable
- Setting the Connection for TADOTable
- Setting the Table Name for TADOTable
- Opening TADOTable
- Using a Data-Source and Data-Aware Controls with TADOTable
- Iterating Through the TADOTable
- Adding or Editing Records Through TADOTable
- Locating Specific Records in TADOTable
- Using Filters with TADOTable
- Accessing a Dataset with TADOQuery
- Running a Stored Procedure with TADOStoredProc
- Setting Up TADOStoredProc
- Executing TADOStoredProc
- Getting Results from TADOStoredProc
- Executing an Update with TADOCommand
- Setting Up TADOCommand
- Executing TADOCommand
- Using TADOCommand for Dataset Access
- Using TADODataset for Dataset Access
- Managing Transactions
- Using Component Events
- Creating Generic Database Applications
- Performance Optimizations
- Error Handling Issues
- Multitier Applications and ADO
- Summary
- 12. Data Access with dbExpress
- 13. XML Document Programming and XML Mapper
-
III. Windows Programming
- 14. Win32 API Functional Areas
- 15. Graphics and Multimedia Techniques
- 16. DLLs
- 17. COM Programming
-
IV. Distributed Computing
- 18. DCOM: Going Distributed
- 19. SOAP and Web Services with BizSnap
-
20. Distributed Applications with DataSnap
- Introduction to DataSnap
-
DataSnap Clients and Servers
- Creating a Simple DataSnap Server
- DataSnap Server Registration
- Creating a DataSnap Client
- Using the Briefcase Model
- Using ApplyUpdates
- Implementing Error Handling
- Demonstrating Reconcile Errors
- Creating a DataSnap Master-Detail Server
- Exporting Master-Detail DataSets
- Creating a DataSnap Master-Detail Client
- Using Nested Tables
- Understanding DataSnap Bandwidth Bottlenecks
- Stateless DataSnap
- Deployment
- Summary
- 21. DataSnap Multitier Connections
- 22. Web Server Programming with WebSnap
- V. Open Tools API
-
VI. Appendixes
- A. C++Builder Example Applications
- B. C++ Mobile Application Development
- C. Information Resources
- D. Enabling TXMLDocument for C++Builder Professional
Product information
- Title: Borland C++Builder™ 6 Developer’s Guide
- Author(s):
- Release date: December 2002
- Publisher(s): Sams
- ISBN: 9780672324802
You might also like
book
Windows Graphics Programming Win32 GDI and DirectDraw®
The world's most complete guide to Windows graphics programming! Win32 GDI and DirectDraw: Accurate, under the …
book
Ivor Horton's Beginning Visual C++ 2013
Learn C++ with the best tutorial on the market! Horton's unique tutorial approach and step-by-step guidance …
book
Microsoft Windows 2000 API SuperBible
Following in the tradition of the Win 95 and Win32 NT SuperBibles, this book is a …
book
C# 4.0 Unleashed
C# 4.0 Unleashed is a practical reference focusing on the C# language and the .NET platform …