Sign in Join
Wiki copytemporary

Zeos tutorial

Sent here from Zeos.

Deutsch · English · Español · Français · Português · Русский · 中文(中国)

Overview

This tutorial is about getting, installing and using Zeoslib with Lazarus and FPC.

Getting Zeos

Zeos has recently been ported to Lazarus and there are no releases yet that officially support it but you can easily get it from SVN if you follow these steps:

SVN

Windows

Linux/BSD

ZIP

You can download the latest version as a ZIP file from sourceforge.net:

Installing the components

This is a tricky part so you should have a little patience and read this part carefully.

  1. Use Components/Open Package File(.lpk) from the main menu.
  2. Go to *zeosdbo_rework\packages\lazarus* and open zcomponent.lpk. Note: Starting with Zeos 7.3 / 8.0 Zeos has a new zcomponentdesign package for Lazarus. Please use this package on these versions.
  3. Press [Compile] only if you don't want to install the components into the IDE
  4. Press [Install]
  5. You are asked if you want to recompile Lazarus.

If you receive the error "Cannot find unit ZClasses" or something similar, then you need to carefully check the case of the filenames in your Zeos source distribution.

pascal
{ This file was automatically created by Lazarus. Do not edit!
  This source is only used to compile and install the package.
}
unit Zcore; 
interface
uses
  Zclasses, Zcollections, Zcompatibility, Zexprparser, Zexprtoken, Zexpression, 
  Zfunctions, Zmatchpattern, Zmessages, Zsysutils, Ztokenizer, Zvariables, 
  Zvariant; 
implementation
end.
text
 rename -v 'y/A-Z/a-z/' *

Installing Zeos components in MSEide

In order to install the Zeos components:

Make your first Zeos application

Possible Bugs and Issues

See also


From the Free Pascal wiki, page "Zeos tutorial", as it stood on 2022-03-28 after a change by Marsupilami, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 2, last changed by WikiArchive .

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.