Database tutorial, parts 2 and 3
identicon
webmaster@cfcc0ed1
DISCUSSION OF ORIGIN

Administrator

identicon

See their activity.

webmaster@cfcc0ed1 Sunday 18th February 2018, 15:51

Database tutorial, parts 2 and 3

Parts 2 and 3 of our database tutorial are online:
Database tutorial - part 2
Database tutorial - part 3
Last modified: Sunday 17th February 2019, 15:43
DISCUSSION OF ORIGIN
identicon
gsanson

gsanson Thursday 13th September 2018, 22:08

Hi,
I kept getting an exception error when running the example. It turns out that "MidasLib" is needed in the uses statement of this example code:  http://www.festra.com/eng/db03.htm
identicon
Jeff Beginner

Jeff Beginner Saturday 15th September 2018, 15:06

[quote] It turns out that "MidasLib" is needed in the uses statement of this example code:  http://www.festra.com/eng/db03.htm[/quote]

On my computer with Delphi Community edition, I get no errors without MidasLib in the uses. Which version of Delphi are you using?
identicon
Bernard

Bernard Monday 4th March 2019, 16:46

I compiled the code of the tutorial part 3. It runs fine on my PC. But when I copied the resulting exe and the xml-file to a folder of another PC, it doesn't work.
I did some searching with Google and it seems that this has something to do with midas.dll or midaslib. There is no mention of "midas" in your code examples, maybe that is the reason of the errors?
identicon
webmaster@bbe0fb2e

Administrator

identicon

See their activity.

webmaster@bbe0fb2e Monday 4th March 2019, 17:01

The program works on the first PC, because that PC contains MIDAS.DLL

Your second PC probably doesn't have Delphi installed and therefore it doesn't contain MIDAS.DLL
Mea culpa, we forgot to mention that an additional step is needed if you want to deploy the application on another PC without Delphi.
There is a work around for this: we make sure that the MIDAS stuff is compiled into the EXE of the application. This can be done by modifying the "uses" clause in the DPR file of the project as follows (add Midaslib to the "uses"):

program UFOdata;

uses
  Vcl.Forms, Unit1 in 'Unit1.pas' {Form1}, Vcl.Themes, Vcl.Styles,
  Midaslib;
Last modified: Monday 4th March 2019, 17:03
anonymous
35131629

35131629 Tuesday 2nd July 2019, 19:43

Hi there to every one, as I am really eager of reading this blog's post to be
updated on a regular basis. It consists of fastidious data.

ordenar viagra Canadian viagra
Suggested Topics View / Reply Forum
webmaster@cfcc0ed1 started Starting a new discussion 3.2K / 2 General
webmaster@cfcc0ed1 started Tutorial: OOP in Delphi 2.6K / 0 News
unused_username started Database migration 3.6K / 1 Database
webmaster@cfcc0ed1 started Database tutorial, parts 2 and 3 6.6K / 5 Database