Cdrtools. Ebooks and online Documentation. Video Tutorials. ChunkIO: unit for fast reading and writing of chunked binary files. Anatomy of a Delphi Unit (Delphi For Beginners) ANATOMY OF A DELPHI UNIT Delphi For Beginners: Interface, Implementation, Initialization, Finalization, Uses and other "funny" words!
If you plan on being a good Delphi programmer than words like interface, implementation, uses need to have special place in your programming knowledge. Delphi Projects When we create a Delphi application, we can start with a blank project, an existing project, or one of Delphi's application or form templates. A project consists of all the files needed to create our target application. The dialog box that pops up when we choose View-Project Manager lets us get access to the form and units in our project. A project is made up of a single project file (.dpr) that lists all the forms and units in the project. Delphi Units As we know by now, forms are visible part of most Delphi projects. Since units store the code for your project, units are the basic of Delphi programming. The unit header starts with the reserved word unit, followed by the unit's name.
Delphi Basics. Pascal Game Development - Free Pascal & Lazarus Tutorial: 14 - Records For Role Playing Games. Published on 09-04-2011 04:11 AM This program uses records as a demonstration on how they can be used in a roll playing game.
This program is just a demonstration and not a true RPG game. If you wish, you can use this code and logic to create one. All code is available at www.schoolfreeware.com. PLEASE NOTE: If you are just learning about programming and want to learn Pascal or Object Pascal, please visit the Pascal Programming for Schools website at www.pp4s.co.uk where you will learn all the skills needed before you can start your journey into the world of game programming. PP4S: PP4S Home Page. How To Write Lazarus Component. Introduction This is a basic guide on how to build components. It was tested on Windows 7 running Lazarus 0.9.30. Step 1: Create The Package On the Lazarus IDE menu, click to run the Package Manager. A file will appear. Congratulations: You have just created your first package! Step 2: Creating The Unit You can create a new unit or use an existing file. Create a New Unit Use the . Choose a component like TComboBox.
TiOPF Home Page. Delphi Components for Firebird, MySQL, MSSQL, Oracle, SQLite, PostgreSQL, SQL Anywhere, DB2 and more "The universal data access may be fast"DA-SOFT Technologies AnyDAC is an unique set of Universal Data Access Components for developing database applications on Delphi, C++Builder and FreePascal.
With its powerful common architecture AnyDAC enables native high-speed direct access from Delphi to Firebird, SQLite, MySQL, SQL Server, Oracle, PostgreSQL, DB2, SQL Anywhere, Advantage DB, Interbase, Access, Informix, DataSnap and more. Based on 15 years of experience writing native drivers for the database back-ends, AnyDAC was built as powerful access layer that supports all that the features needed to build real-world high-load applications. AnyDAC provides a common API for accessing different database back-ends, without giving up access to unique database-specific features, or compromising on performance. OpenWire (library) The project started in 1997 as an attempt for visual design of text parsers.
Later it was used for designing signal processing libraries, and was expanded to support any data type. Pins form the connections between the components. OpenWire defines 4 types of pins: SourcePin usually provides data. Can connect to one or more SinkPins and to one StatePin.SinkPin usually received data. Pin lists can contain and group pins. PinList contains pins but is not responsible to create or destroy them.PinListOwner contains pins and is responsible to create or destroy them. Two pins in OpenWire can connect and exchange data only if they support compatible data types. Lazarus/FPC Libraries. English (en) | Español (es) | Français (fr) | 日本語 (ja) | Русский (ru) This page describes the possibilities how to create libraries with Lazarus/FPC and how to use them in projects and packages.
Related Topics Creating bindings for C libraries - How to convert C header files (.h) to pascal units General Static linking: FPC compiles and links as default a static executable. Dynamic libraries: The idea of dynamic libraries is to share code between programs, saving the memory of the code, reducing the startup time for often used libraries and allowing plugins.
Operating Systems. Lazarus Tutorial. Deutsch (de) | English (en) | Español (es) | Suomi (fi) | Français (fr) | Magyar (hu) | Italiano (it) | 日本語 (ja) | 한국어 (ko) | Македонски (mk) | Nederlands (nl) | Português (pt) | Русский (ru) | Slovenčina (sk) | Shqip (sq) | 中文(中国大陆) (zh_CN) | 中文(台灣) (zh_TW) This is the start of a Lazarus Tutorial.
Please feel free to improve it. Overview Lazarus is a free and open source development tool for the Free Pascal compiler, which is also free and open source. Drop files event. The drop files event will be invoked when the user drops one or multiple dragged files on one of application's forms. First this event should be fired for target form (or main form if drop target is unknown), then for the application. Possible implementation for LCL TDropFilesEvent = procedure (Sender: TObject; const FileNames: Array of String) of Object; Add OnDropFiles: TDropFilesEvent to TCustomForm, TApplication and TApplicationProperties.
Each form will have property AllowDropFiles: Boolean, which enables this event. Possible implementation per widgetsets The widgetsets should call method IntfDropFiles of target form (or main form if drop target is unknown) and the application. Win32/64 set DragAcceptFiles for every form respond to WM_DROPFILES message enable: gtk_drag_dest_set respond to drag_data_received signal. About Delphi Programming - For Novice and Expert Embarcadero Delphi Developers. Project JEDI Portal. Pascal Central. Lazarus Development. Lazarus Documentation. العربية (ar) | Deutsch (de) | English (en) | Español (es) | Suomi (fi) | Français (fr) | Bahasa Indonesia (id) | Italiano (it) | 日本語 (ja) | 한국어 (ko) | Magyar (hu) | Nederlands (nl) | Polski (pl) | Português (pt) | Русский (ru) | Slovenčina (sk) | Türkçe (tr) | 中文(中国大陆) (zh_CN) | 中文(台灣) (zh_TW) Lazarus and Pascal Tutorials (See also "Websites", further down this page) Lazarus/FPC Overview of Free Pascal and Lazarus - A brief discussion of kinds of things you can develop with these general-purpose tools.
Lazarus Tutorial - A tutorial for beginners and a detailed description of the Lazarus IDE. Hardware, Threads and Processes Using the printer - Printer support in Lazarus Hardware Access - How to access hardware devices, such as ISA cards, PCI cards, parallel and serial ports and USB devices. Files File Handling In Pascal - Basic explanations on the use of files, for beginners in pascal. Web Web Development Portal - How to develop web applications with Lazarus and Free Pascal.
Section 2. Section 3. SDL. Ffmpeg. Mencoder.