C++Builder 6 Developer's Guide

Total Page:16

File Type:pdf, Size:1020Kb

C++Builder 6 Developer's Guide C++Builder™ 6 Developer’s Guide Satya Sai Kolachina Wordware Publishing, Inc. Library of Congress Cataloging-in-Publication Data Sai Kolachina, Satya. C++builder 6 developer’s guide / by Satya Sai Kolachina. p. cm. Includes bibliographical references and index. ISBN 1-55622-960-7 (paperback) 1. Computer software—Development. 2. Delphi (Computer file). 3. Telecommunication systems. I. Title. QA76.76.D47 M665 2002 005.1--dc21 2002011 CIP © 2003, Wordware Publishing, Inc. All Rights Reserved 2320 Los Rios Boulevard Plano, Texas 75074 No part of this book may be reproduced in any form or by any means without permission in writing from Wordware Publishing, Inc. Printed in the United States of America ISBN 1-55622-960-7 10987654321 0211 C++Builder is a trademark of Borland Software Corporation in the United States and other countries. Other products mentioned are used for identification purposes only and may be trademarks of their respective companies. All inquiries for volume purchases of this book should be addressed to Wordware Publishing, Inc., at the above address. Telephone inquiries may be made by calling: (972) 423-0090 Dedication and Acknowledgments It is my pleasure and responsibility to dedicate this book to a few people without who I am incomplete in several aspects. First of all, I mention my father, Sri Venkata Lakshmana Murthy Kolachina, and mother, the late Srimathi Kamala Devi Kolachina, who gave me this invaluable life, taught me human values, and with whose blessings, efforts, and encouragement I am now what they envisioned I should be. Next I mention Sri Vinai Bhushan VR Kanteti and his wife, Srimathi Swarajya Lakshmi Kanteti, who gave me a career and laid the foundation stone for my social status today. There is a saying “Behind every successful man is a woman.” It is also said that without a wife’s cooperation, the husband is only an incomplete person. These words are very much true in my case, since my wife, Parvathi Devi Kolachina, has provided me encouragement and full cooper- ation at every step in my life, career, and even while writing this book. I express my gratitude to her whole-heartedly. I am very proud of my children, Kamala Priyadarsini Kolachina and Satya Shilpa Kolachina, who always regarded their dad as a great person and always extended their love, affection, and cooperation, though I am a very normal person like millions of others in this world. I next thank very much the reviewers, Damon Chandler and Thomas J. Theobald, who gave me their valuable suggestions to better present my thoughts. I also thank my close friends and relatives who provided me encouragement. I thank Wordware Publishing and its staff for extending me their full cooperation throughout the process. I am very thankful to Karen Giles at Borland Developer Relations, who provided me with the C++Builder 6 software and encouraged me to write this book. I am a true believer that every human being is a representation of God. Therefore, I thank the creator of this universe who provided me so many well-wishers and a continuous flow of thoughts to keep my commitment to the publisher and to the reader community. iii Contents Introduction ...........................xiii Part I Windows and Database Development Chapter 1 Introduction to C++Builder 6 .............3 Introduction ............................3 C++Builder 6 Overview ......................3 The Main Window and Toolbars ................3 Component Palette .......................4 Object Inspector.........................5 Object TreeView ........................7 To-Do List ..........................7 Alignment Palette ........................8 New Features ...........................9 Technology Additions......................9 WebSnap and Enhancements to Internet Development . 9 BizSnap...........................11 Enhancements .........................11 Enhancement to DataSnap .................11 New Database Support ...................11 STLPort Standard Template Library ..............11 New Components and Wizards ................12 Working with Projects ......................13 What Constitutes a C++Builder 6 Project?...........13 Setting Project Options ....................14 Borland Packages and Components ..............15 Installing Third-Party Vendor Components ..........16 Types of Projects That C++Builder 6 Supports ........17 Building User Interfaces ....................18 Your First Windows Application................19 Summary .............................22 Chapter 2 C++ Advanced Concepts ...............23 Introduction ...........................23 Language Overview .......................24 v Contents C++ Features That are Often Ignored ..............26 Templates ...........................26 What are Templates? ....................26 When to Use Templates...................26 Namespaces ..........................29 Casting in C++.........................32 dynamic_cast ........................32 static_cast..........................34 const_cast..........................34 reinterpret_cast .......................35 Exception Handling ......................35 A Word about Pointers.....................37 References ...........................40 Virtual Methods ........................42 C++ Language and C++Builder .................45 Overview ...........................45 Keyword Extensions ......................47 __classid ..........................47 __closure ..........................47 __property .........................49 __published.........................50 __declspec .........................50 __interface .........................52 Object Construction Sequence in C++Builder .........53 Summary .............................56 Chapter 3 The VCL Explored ...................57 Brief Introduction to VCL Architecture .............57 VCL Objects ...........................60 AnsiString ...........................62 What is TObject? .......................63 Persistence of Objects—TPersistent Class ...........65 Basic VCL Component—TComponent Class .........65 Non-Visual Components....................66 Visual Components—TControl and TWinControl Classes and Their Descendants ...............66 The Application—Global TApplication Instance .......67 Properties, Methods, and Events of TApplication .....69 Other Global Variables—TScreen, TMouse, and TClipboard Instances ....................73 Getting the RTTI........................79 Is a Specific Property Published for the Object? ......79 What is the Property Type? .................79 Is a Specific Property in an Object of a Specific Type? . 80 vi Contents What is the Type of a Specific Property in an Object? . 80 Is the Property Stored in the DFM File? ..........80 Getting and Setting Property Values for an Object .....80 A Closer Look at Forms .....................82 Creating Forms in a DLL ...................84 What are a Form’s Characteristics? ..............90 Frames in the VCL ........................92 Using Frames in a Project ...................93 The Value List Editor ......................95 Summary .............................97 Chapter 4 Advanced VCL Features ................99 Introduction ...........................99 Actions and ActionLists .....................99 Action Clients ........................100 Action Objects and TAction Class ..............101 Types of Action Objects ...................101 Action Targets ........................101 ActionList Object.......................102 Using the Standard Action Objects ..............102 How Does the Application Find the Action Target for an Action Object? ...................105 Using the Custom Action Objects ..............105 How Does VCL Identify the Appropriate Action Handler for an Action? ..................107 Visual Components That Render Action Objects .......110 Windows Common Dialogs...................118 Windows Drag and Drop ....................120 Properties and Methods of the Source Object.........120 BeginDrag() Method ...................120 OnMouseDown() Event ..................121 Event Handlers for the Drop Target..............121 Custom Drag Objects.....................122 Drag and Drop Across Modules in an Application ....128 Date/Time Management ....................133 TDateTime Class .......................133 What is DOS File Timestamp? ................137 Win32 Core Date-Time Management ............138 Formatting Date-Time Strings ................139 Constants Defined in SYSUTILS...............140 Directory and File Management ................141 Working with Directories...................141 Working with Files ......................144 Functions That Work with File Existence and Search . 144 vii Contents WIN32_FIND_DATA Structure..............145 File Attributes .......................146 Setting the Advanced Attributes..............147 Filename Manipulation Functions .............149 File Content Management .................151 Summary ............................152 Chapter 5 Simple Database Development ...........153 Introduction to Database Development.............153 Two-tier, Three-tier, and Multi-tier Applications .......154 VCL Architecture for Database Development .........156 Database Connection Components ..............157 Database Connection Frameworks Supported in VCL . 157 How Do You Connect to a Database? ...........160 What is TDataSet? ......................161 Dataset States .......................163 Synchronous and Asynchronous Modes..........164 Properties, Methods, and Events .............165 Data-aware Controls and DataSource.............169 Data Module—The Non-visual Container ..........170
Recommended publications
  • Universidade Salvador – Unifacs Programa De Pós-Graduação Em Redes De Computadores Mestrado Profissional Em Redes De Computadores
    UNIVERSIDADE SALVADOR – UNIFACS PROGRAMA DE PÓS-GRADUAÇÃO EM REDES DE COMPUTADORES MESTRADO PROFISSIONAL EM REDES DE COMPUTADORES DEMIAN LESSA INTERFACES GRÁFICAS COM O USUÁRIO: UMA ABORDAGEM BASEADA EM PADRÕES Salvador 2005 DEMIAN LESSA INTERFACES GRÁFICAS COM O USUÁRIO: UMA ABORDAGEM BASEADA EM PADRÕES Dissertação apresentada ao Mestrado Profissional em Redes de Computadores da Universidade Salvador – UNIFACS, como requisito parcial para obtenção do grau de Mestre. Orientador: Prof. Dr. Manoel Gomes de Mendonça. Salvador 2005 Lessa, Demian Interfaces gráficas com o usuário: uma abordagem baseada em padrões / Demian Lessa. – Salvador, 2005. 202 f.: il. Dissertação apresentada ao Mestrado Profissional em Redes de Computadores da Universidade Salvador – UNIFACS, como requisito parcial para a obtenção do grau de Mestre. Orientador: Prof. Dr. Manoel Gomes de Mendonça. 1. Interfaces gráficas para usuário - Sistema de computador. I. Mendonça, Manoel Gomes de, orient. II. Título. TERMO DE APROVAÇÃO DEMIAN LESSA INTERFACES GRÁFICAS COM O USUÁRIO: UMA ABORDAGEM BASEADA EM PADRÕES Dissertação aprovada como requisito parcial para obtenção do grau de Mestre em em Redes de Computadores da Universidade Salvador – UNIFACS, pela seguinte banca examinadora: Manoel Gomes de Mendonça – Orientador _________________________________ Doutor em Ciência da Computação pela Universidade de Maryland em College Park, Estados Unidos Universidade Salvador - UNIFACS Celso Alberto Saibel Santos ____________________________________________ Doutor em Informatique Fondamentalle et Parallelisme pelo Université Paul Sabatier de Toulouse III, França Universidade Federal da Bahia – UFBA Flávio Morais de Assis Silva _____________________________________________ Doutor em Informática pelo Technische Universität Berlin, Alemanha Universidade Federal da Bahia – UFBA Salvador de de 2005 A meus pais, Luiz e Ines, pelo constante incentivo intelectual e, muito especialmente, por todo amor e carinho repetidamente demonstrados.
    [Show full text]
  • Migrating Borland® Database Engine Applications to Dbexpress
    ® Borland® dbExpress–a new vision Migrating Borland Past attempts to create a common API for multiple databases have all had one or more problems. Some approaches have been large, Database Engine slow, and difficult to deploy because they tried to do too much. Others have offered a least common denominator approach that denied developers access to the specialized features of some Applications to databases. Others have suffered from the complexity of writing drivers, making them either limited in functionality, slow, or buggy. dbExpress Borland® dbExpress overcomes these problems by combining a new approach to providing a common API for many databases New approach uses with the proven provide/resolve architecture from Borland for provide/resolve architecture managing the data editing and update process. This paper examines the architecture of dbExpress and the provide/resolve mechanism, by Bill Todd, President, The Database Group, Inc. demonstrates how to create a database application using the for Borland Software Coporation dbExpress components and describes the process of converting a September 2002 database application that uses the Borland® Database Engine to dbExpress. Contents The dbExpress architecture Borland® dbExpress—a new vision 1 dbExpress (formerly dbExpress) was designed to meet the The dbExpress architecture 1 following six goals. How provide/resolve architecture works 2 Building a dbExpress application 3 • Minimize size and system resource use. Borland® Database Engine versus dbExpress 12 • Maximize speed. Migrating a SQL Links application • Provide cross-platform support. for Borland Database Engine to dbExpress 12 • Provide easier deployment. Migrating a desktop database application to dbExpress 15 • Make driver development easier. Summary 17 • Give the developer more control over memory usage About the author 17 and network traffic.
    [Show full text]
  • JAWABAN SOAL UTS 2018/2019 MATAKULIAH PEMPROGRAMAN BORLAND DELPHI TEORI Hari Krismanto 165100043 Fakultas Komputer, 448757248 [email protected]
    Fakultas Komputer Hari Krismanto JAWABAN SOAL UTS 2018/2019 MATAKULIAH PEMPROGRAMAN BORLAND DELPHI TEORI Hari Krismanto 165100043 Fakultas Komputer, 448757248 [email protected] 1 Fakultas Komputer Hari Krismanto A. STUDI KASUS ( SK ) Pertanyaan Type A : pilihlah salah satu logo software anggota tim di paparkan dan di jelaskan. Jawaban : Lambang ini menjelaskan: Ini adalah logo toko alat Gaming Disitu ada warna ungu yang melambangkan kemewahan jadi seperti toko yang bernuansa mewah Dan DEN itu mewakili nama pemilik toko tersebut Yaitu DENNY dan S adalah SUKSES 17 Fakultas Komputer Hari Krismanto B. STUDI REFERENSI ( SP ) Pertanyaan Jenis A : Carilah Perbedaan Utama Borland Delphi 4.0 dan Borland Delphi 7.0 Jawaban : Delphi 4.0, dirilis pada 1998 , adalah Delphi klasik. Hal ini didukung 32- bit lingkungan Windows. Ini juga termasuk Delphi 1 dibundel bersama-sama untuk menciptakan 16-bit 4.1 aplikasi Windows. Sedangkan Borland Delphi 7.0 adalah Delphi merupakan bahasa pemrograman berbasis Windows yang menyediakan fasilitas pembuatan aplikasi visual seperti Visual Basic. Delphi memberikan kemudahan dalam menggunakan kode program, kompilasi yang cepat, penggunaan file unit ganda untuk pemrograman modular, pengembangan perangkat lunak, pola desain yang menarik serta diperkuat dengan bahasa pemrograman yang terstruktur dalam bahasa pemrograman Object Pascal. Delphi memiliki tampilan khusus yang didukung suatu lingkup kerja komponen Delphi untuk membangun suatu aplikasi dengan menggunakan Visual Component Library (VCL). Sebagian besar pengembang Delphi menuliskan dan mengkompilasi kode program dalam IDE (Integrated Development Environment). Delphi 7, dirilis pada bulan Agustus 2002, menjadi versi standar yang digunakan oleh pengembang Delphi lebih dari versi tunggal lainnya. Ini adalah salah satu keberhasilan paling IDE yang diciptakan oleh Borland karena kecepatan, yang stabilitas dan persyaratan perangkat keras rendah dan masih aktif digunakan untuk tanggal ini (2009).
    [Show full text]
  • LXFDVD Mopslinux 6.0
    LXF97 Python » MySQL » Slashdot » OpenMoko LXFDVD MOPSLinux 6.0 ПЛЮС: ALT Linux 4.0 Personal Desktop LXF Октябрь 2007 » Zenwalk Live & Core » KDE 4 Beta 2 № 10(97) Главное в мире Linux № 1100 Ubuntu ООктябрьктябрь ((97)97) 22007007 БоремсясоSlashdot-эффектом Борьба за лучший Эксклюзивная информация Python о том, как делается самый ParagonNTFS популярный в мире дистрибутив Что нового в Gusty Gibbon? Мнения разработчиков ЛуисСуарес-Поттс ППЛЮС!ЛЮС! Собери свой собственный Ubuntu Mono SedиAwk OpenMoko Пишемсобственныйebuild Не заSlashdot’ишь! Bash, Sed, Awk Ebuild’нем… Подготовьте свой web-сайт к Накоротке с основными инстру- Приготовьте исходный код для наплыву посетителей с. 42 ментами командной строки с. 58 пользователей Gentoo с. 72 ККаталогаталог аагентствагентства «РРОСПЕЧАТЬОСПЕЧАТЬ» – подписной индекс 2208820882 ККаталогаталог «ППРЕССАРЕССА РРОССИИОССИИ» – подписной индекс 8879747974 Я ни на секунду не предлагаю ОOо стать Боргом! OpenOffice.org Луис Суарес-Поттс Приветствие Главное в мире Linux К Вашим услугам... Продав компанию Thawte, основатель Ubuntu Марк Шаттлворт заработал 575 миллионов долларов. А на что бы вы потратили эту сумму, окажись она в вашем распоряжении? Пол Хадсон Грэм Моррисон Майк Сондерс Я бы создал фонд Я бы притворился Я бы проспонсиро- помощи бездомным бездомным ребен- вал строительство детям... а затем ком, чтобы урвать механических без- купил большую, еще и кусок, достав- домных детей, блестящую машину. шийся Полу. чтобы они делали работу, которую сейчас выполняют живые бездомные дети. В плену у технологий Жить без технологий невозможно – по крайней мере, если вы с удовольствием читаете журналы вроде LXF. Компьютеры (как проявление технологий) берут на себя тяжелую и рутинную работу вроде размещения на бумаге символов, которые я сейчас набираю – а вам остается только пожинать плоды заслуженного Эфрейн Эрнандес- Мэтт Нейлон Энди Ченнел Мендоса Я бы вложил один- Я бы закупил мно- бездействия..
    [Show full text]
  • Vot 74120 Development of an On-Line And
    VOT 74120 DEVELOPMENT OF AN ON-LINE AND INTELLIGENT ENERGY SAVING SCHEME FOR A COMMERCIAL BUILDING (PEMBINAAN SYSTEM PENJIMAT TENAGA PINTAR SECARA BERTERUSAN UNTUK BANGUNAN KOMERSIL) Md. Shah Majid Herlanda Windiarti Saiful Jamaan PUSAT PENGURUSAN PENYELIDIKAN UNIVERSITI TEKNOLOGI MALAYSIA 2006 VOT 74120 DEVELOPMENT OF AN ON-LINE AND INTELLIGENT ENERGY SAVING SCHEME FOR A COMMERCIAL BUILDING (PEMBINAAN SYSTEM PENJIMAT TENAGA PINTAR SECARA BERTERUSAN UNTUK BANGUNAN KOMERSIL) Md. Shah Majid Herlanda Windiarti Saiful Jamaan RESEARCH VOTE NO : 74120 Jabatan Elektrik Kuasa Fakulti Kejuruteraan Elektrik Universiti Teknologi Malaysia 2006 Abstrak Di Malaysia, selama 2 dekad terakhir, permintaan untuk sektor komersil meningkat pada purata 7.5 peratus pada 1980an dan 7.7 peratus pada 1990an melebihi 5.9 peratus pertumbuhan GDP dan 7 peratus dari masa yang sama. Saat ini, sektor komersil telah menggunakan 19 peratus daripada jumlah penggunaan tenaga untuk semua sektor. Mengikut konteks bangunan komersil, penyaman udara ialah pengguna tenaga yang utama yang memakai 70 peratus tenaga elektrik sementara 30 peratus digunakan untuk lampu dan beban lainnya. Projek penyelidikan ini ialah merekabentuk dan membina sistem kawalan penyaman udara dan sistem kawalan penyusup cahaya luar. Fuzzy akan digunakan untuk menentukan nilai pasti dari isyarat kawalan yang bertujuan untuk mengenal pasti dan mengawas penggunaan tenaga secara efisien. Pembinaan skema pintar kawalan tenaga boleh mengawal penggunaan tenaga bangunan komersil dengan menggunakan pengawas secara berterusan. 1 DEVELOPMENT OF AN ON-LINE AND INTELLIGENT ENERGY SAVING SCHEME FOR A COMMERCIAL BUILDING Abstract (Keywords:………….. ) In Malaysia, during the past two decade, demand for commercial sector grew rapidly, increasing at an average rate of 7.5 percent in the 1980s and 7.7 percent in 1990s, surpassing the GDP growth of 5.9 percent and 7 percent over the corresponding period.
    [Show full text]
  • Tech S1 볼랜드 Kylix.Pdf
    Kylix Wake Up, Linux Speed Up, Kylix Jong-Hee Lee Borland Korea Agenda Pedigree in Software Development Borland Comprehensive Solution Kylix is ? Cross Platform Programming and CLX-related Technology Kylix Product Features Kylix Benefits Competitive Landscape Product Demonstrations Appendix : FAQ 02-05-09 2 Pedigree in Software Development ® Î Personal Computer Î Borland C/C++, Pascal(1987) Î 클라이언트 서버 / Î Borland Delphi(1995),™ ™ Î 분산컴퓨팅 C++Builder (1997) ™ Î J2EE 플랫폼 Î Borland Enterprise Server, ® Î 인터넷 및 자바 VisiBroker Edition(2001) Î Borland Enterprise Server, Î 리눅스 AppServer™ Edition(2001) Î 무선 Java 및 C++ Î Borland JBuilder™ (1993) Î Borland Kylix™ (2001) Î Borland JBuilder™ MobileSet Borland C++ Builder MobileSet(2002) 02-05-09 3 Managing the Application Through its Life Cycle from Inception to Management Analysis & Design Construction -IDE- Assurance Asset Management Deployment & and Collaboration Management 02-05-09 4 Comprehensive Solution Set for Managing the Application Life Cycle Borland® Enterprise Studio Borland Professional Services JBuilder/Delphi/ C++Builder/Kylix Borland Optimizeit™ ® Borland Borland Enterprise ™ TeamSource DSP Server 02-05-09 5 Support For a Broad Ecosystem of Industry Technology Solutions Borland •Rational Rose® Enterprise •Embarcadero Describe Studio •BoldSoft •Rational Borland •Delphi ® •C++Builder ClearCase JBuilder •CVS •Kylix •Merant PVCS •Rational •Compuware •Visual Borland •Sitraka •Mercury Interactive SourceSafe® Optimizeit Borland •BEA® WebLogic® Borland Enterprise •IBM® WebSphere® TeamSource
    [Show full text]
  • Delivering Better Software, Faster for the Microsoft .NET Framework
    Delivering Better Software, Faster for the Microsoft .NET Framework Solutions to accelerate the application lifecycle A Borland White Paper May 2003 Better Software, Faster for the Microsoft .NET Framework Contents Solutions for the Application Lifecycle ................................................................................ 4 Requirements definition ................................................................................................................... 7 Analysis and design.......................................................................................................................... 8 Development .................................................................................................................................... 9 Testing and profiling ...................................................................................................................... 12 Deployment .................................................................................................................................... 12 Platform interoperability ........................................................................................................... 12 Databases................................................................................................................................... 13 Change and configuration management ......................................................................................... 14 The strength of integration.................................................................................................
    [Show full text]
  • Photopa – Database of Czech Historical Monuments
    PhotoPa – Database of Czech Historical Monuments Radek CHROMY and Petr SOUCEK, Czech Republic Key words: PhotoPa, monuments, XML, XHTML, photogrammetry, web system. SUMMARY There are many historical monuments in the Czech Republic and most of them have been documented photographically. But hardly any can be use in photogrammetry because of absence measuring attributes. The aim of PhotoPa system is a collection such photo documentation which would be sufficient for future geometric interpretation of a monument. To fill the PhotoPa system are being used students‘ projects of course Photogrammetry, Geodesy and Cartography, Faculty of Civil Engineering in Prague. In PhotoPa system has been saved over 180 monuments which photographs were taken during 2001 and 2002. This paper presents development of a system based on open source technology. First we will talk about genesis and history of PhotoPa project, later we will focus on software use for data collection and in the end we will introduce a design of data structure for input and a proposal to Internet presentation of mentioned monuments. The PhotoPa project is being created in cooperation with Laboratory of Photogrammetry, Faculty of Civil Engineering in Prague. TS26 Best Practice in Facility Management 1/12 Radek Chromy and Petr Soucek PP26.3 PhotoPa - Database of Czech Historical Monuments FIG Working Week 2003 Paris, France, April 13-17, 2003 PhotoPa – Database of Czech Historical Monuments Radek CHROMY and Petr SOUCEK, Czech Republic 1. THE BORN OF PROJECT THE DATABASE OF MONUMENTS IN CZECH REPUBLIC (A RESCUE OF MONUMENTS) An idea to make such project came at the end of year 2000.
    [Show full text]
  • Firebird 1.0 Quick Start Guide
    Firebird 1.0 Quick Start Guide IBPhoenix Editors 1 March 2005 - Document version 2.1.1 Table of Contents About this guide ................................................................................................................ 3 What is in the kit? .............................................................................................................. 3 Classic or Superserver? ...................................................................................................... 3 Default disk locations ........................................................................................................ 5 Installing Firebird .............................................................................................................. 6 Installation drives ...................................................................................................... 6 Installation script or program ...................................................................................... 7 Testing your installation ..................................................................................................... 8 Pinging the server ...................................................................................................... 8 Checking that the Firebird server is running ................................................................ 8 Other things you need ...................................................................................................... 11 A network address for the server ..............................................................................
    [Show full text]
  • Narzędzia RAD (Wykład 1)
    Narzędzia RAD (wykład 1) Piotr Cybula Uniwersytet Łódzki, Wydział Matematyki [email protected] http://www.math.uni.lodz.pl/~cybula Rys historyczny (1) lata 80-te i początek 90-tych: środowiska programistyczne IDE (Integrated Development Environment) integracja edytora kodu, funkcji programistycznych (kompilacja, łączenie, śledzenie) i zarządzania projektem w jednym narzędziu biblioteki wspomagające dostęp do funkcji systemu Borland Turbo Pascal i Borland C (aplikacje konsolowe DOS, biblioteka okienek Turbo Vision) Borland C++ for Windows (aplikacje 16-bitowe dla Win 3.x, biblioteka OWL – Object Windows Library) 2 Rys historyczny (2) 1995: Windows 95 – 32-bitowy system operacyjny z bogatym interfejsem GUI (Graphic User Interface) skomplikowane API (Application Programming Interface) – funkcje systemowe napisane w C, czyli proceduralnie narzędzia RAD (Rapid Application Development) – rozszerzenie IDE programowanie wizualne (WYSIWYG), komponentowe i zdarzeniowe rozbudowane obiektowe biblioteki komponentów umożliwiające szybkie tworzenie aplikacji: formularze, raporty, dostęp do baz danych, komunikacja sieciowa i in. 3 Rys historyczny (3) 1995 (cd): Borland Delphi: obiektowa odmiana języka Pascal (Object Pascal), biblioteka komponentów VCL (Visual Component Library) napisana również w Object Pascal, do roku 2002 powstało 7 wersji Delphi dla Win32 API Borland C++Builder: C++, VCL, 6 wersji Microsoft Visual Studio: C++, biblioteka MFC (Microsoft Foundation Classes), 7 wersji 4 Rys historyczny (4) 1995-1998: Sun Java i
    [Show full text]
  • Borland C++ Builder 6 Developer's Guide
    00 0672324806 FM 12/12/02 2:40 PM Page i Bob Swart, Mark Cashman, Paul Gustavson, and Jarrod Hollingworth Borland C++Builder 6 Developer’s Guide 201 West 103rd Street, Indianapolis, Indiana 46290 00 0672324806 FM 12/12/02 2:40 PM Page ii Borland C++Builder 6 Developer’s Guide Associate Publisher Michael Stephens Copyright © 2003 by Sams Publishing All rights reserved. No part of this book shall be reproduced, stored Acquisitions Editor in a retrieval system, or transmitted by any means, electronic, Carol Ackerman mechanical, photocopying, recording, or otherwise, without Development Editor written permission from the publisher. No patent liability is Songlin Qiu assumed with respect to the use of the information contained herein. Although every precaution has been taken in the prepara- Managing Editor tion of this book, the publisher and author assume no responsibil- Charlotte Clapp ity for errors or omissions. Nor is any liability assumed for damages resulting from the use of the information contained herein. Project Editor Matthew Purcell International Standard Book Number: 0-672-32480-6 Copy Editor Library of Congress Catalog Card Number: 2002109779 Chip Gardner Printed in the United States of America Indexer First Printing: December 2002 Erika Millen 05 04 03 02 4321 Proofreaders Leslie Joseph Trademarks Suzanne Thomas All terms mentioned in this book that are known to be trademarks Technical Editor or service marks have been appropriately capitalized. Sams Paul Qualls Publishing cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity Team Coordinator of any trademark or service mark.
    [Show full text]
  • What's New in Kylix 3
    What’s New in Kylix 3 Borland® Kylix ™ 3 Delphi™ and C++ for Linux® Borland Software Corporation 100 Enterprise Way, Scotts Valley, CA 95066-3249 www.borland.com COPYRIGHT © 2002 Borland Software Corporation. All rights reserved. All Borland brand and product names are trademarks or registered trademarks of Borland Software Corporation in the United States and other countries. All other marks are the property of their respective owners. K3–WN–0802 Chapter0 What’s new in Kylix 3 Kylix 3 includes enhancements in the following areas: • “IDE updates” on page 1 • “C++ language highlights” on page 4 • “Delphi language updates” on page 5 (see Note below) • “Web technology updates” on page 5 • “Indy updates” on page 6 • “Database technology updates” on page 6 • “Component library updates” on page 6 • “Delphi runtime library updates” on page 7 • “Open Tools API updates” on page 8 • “Documentation updates” on page 8 Note: The Object Pascal language is now called the Delphi language. The documentation has been updated accordingly. Not all features are available in all editions of Kylix, as noted in the following sections. If you are upgrading from a previous version of Kylix, see “Upgrade and compatibility issues” on page 9. For late-breaking information on installation, registration, upgrade, and compatibility issues, see the PREINSTALL, INSTALL, and README files available at the root of your Kylix installation folder. IDE updates You can now use Kylix to develop cross-platform applications in both the Delphi and C++ languages. Kylix includes an IDE for each language. Use either of the following methods to start either IDE: • In KDE or Gnome, open the start menu, choose Borland Kylix 3, and select the Delphi or C++ version of Kylix.
    [Show full text]