background preloader

Lazarus - Free Delphi-like Free Pascal RAD IDE

Facebook Twitter

GLScene

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!

Anatomy of a Delphi Unit (Delphi For Beginners)

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. 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. Choose as filename. Click OK. unit CustomControl1 ; {$mode objfpc}{$H+} interface uses Classes , SysUtils , LResources , Forms , Controls , Graphics , Dialogs , StdCtrls ; type TCustomControl1 = class ( TComboBox ) private { Private declarations } protected { Protected declarations } public { Public declarations } published { Published declarations } end ; procedure Register ; implementation procedure Register ; begin RegisterComponents ( 'Standard' , [ TCustomControl1 ] ) ; end ; end .

Install the package by clicking the 'install' button at the top of the package editor. Using lazres. 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.

Delphi Components for Firebird, MySQL, MSSQL, Oracle, SQLite, PostgreSQL, SQL Anywhere, DB2 and more 

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.

OpenWire (library)

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.

Lazarus/FPC Libraries

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.

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. The Lazarus IDE (screenshot) is a stable and feature rich programming environment for creating standalone graphical and console applications. Getting Started. 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.

Section 1

Section 2. Section 3. SDL. Ffmpeg. Mencoder.