Recent

Author Topic: download fbembed.dll  (Read 3370 times)

calm_sea

  • New Member
  • *
  • Posts: 40
download fbembed.dll
« on: January 03, 2023, 11:32:23 am »
Good morning. I'm using lazarus with firebird 4 on win64. I can't find the fbembed.dll library for single seater installs. Where can I download fbembed.dll ?

rvk

  • Hero Member
  • *****
  • Posts: 6169
Re: download fbembed.dll
« Reply #1 on: January 03, 2023, 11:57:02 am »
Good morning. I'm using lazarus with firebird 4 on win64. I can't find the fbembed.dll library for single seater installs. Where can I download fbembed.dll ?
You can't. Firebird 4 doesn't have a single fbembed.dll.
You can use the complete install as embedded version.
See https://ib-aid.com/download/docs/fb4migrationguide.html#_installing_embedded for the actual needed files.
So use the fbclient.dll as your embedded client dll.

Nicole

  • Hero Member
  • *****
  • Posts: 972
Re: download fbembed.dll
« Reply #2 on: January 03, 2023, 05:40:16 pm »
btw:
Does anybody know, when the version of IBX may be available, which supports FB 4?

rvk

  • Hero Member
  • *****
  • Posts: 6169
Re: download fbembed.dll
« Reply #3 on: January 03, 2023, 06:57:01 pm »
btw:
Does anybody know, when the version of IBX may be available, which supports FB 4?
What makes you think the latest version doesn't support FB 4?
This has already been discussed with you multiple times.

Nicole

  • Hero Member
  • *****
  • Posts: 972
Re: download fbembed.dll
« Reply #4 on: January 05, 2023, 06:13:44 pm »
Why I thought this?
Because of this site: https://www.mwasoftware.co.uk/ibx
and this sentence
Code: Text  [Select][+][-]
  1. The Firebird Relational Database Management System can be downloaded from http://www.firebirdsql.org. Version 2 (IBX2) provides full support for both the legacy Firebird API and the new Firebird 3 API.

Do you use FB 4 and IBX 2.5?
Will it work?
Somebody say, that there may be a new release with about starting 2023.

Thaddy

  • Hero Member
  • *****
  • Posts: 14382
  • Sensorship about opinions does not belong here.
Re: download fbembed.dll
« Reply #5 on: January 05, 2023, 06:18:55 pm »
If you write embedded it can in my opinion never be a dll or so for that matter. Hence my disgust at such constructions. Embedded means fully self-contained and only needs one executable with everything - apart from the OS - linked in. Drop that Firebird shit: it lies to you. It is not in any way embedded. It introcuces a dependency to your code. So it is not embedded.

All stops when you use a dynamically linked dependency other than from the OS..
« Last Edit: January 05, 2023, 06:25:21 pm by Thaddy »
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

domasz

  • Sr. Member
  • ****
  • Posts: 437
Re: download fbembed.dll
« Reply #6 on: January 05, 2023, 06:24:20 pm »
Drop that Firebird shit: it lies to you. It is not in any way embedded.
I agree but is there any embedded SQL database for FPC?

Thaddy

  • Hero Member
  • *****
  • Posts: 14382
  • Sensorship about opinions does not belong here.
Re: download fbembed.dll
« Reply #7 on: January 05, 2023, 06:26:25 pm »
Drop that Firebird shit: it lies to you. It is not in any way embedded.
I agree but is there any embedded SQL database for FPC?

Multiple, but I would recommend staticcaly linked Sqlite3. Instructions can be found on this forum or on the mORMot website.
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

rvk

  • Hero Member
  • *****
  • Posts: 6169
Re: download fbembed.dll
« Reply #8 on: January 05, 2023, 06:40:08 pm »
Why I thought this?
Because of this site: https://www.mwasoftware.co.uk/ibx
and this sentence
Quote
The Firebird Relational Database Management System can be downloaded from http://www.firebirdsql.org. Version 2 (IBX2) provides full support for both the legacy Firebird API and the new Firebird 3 API.

Do you use FB 4 and IBX 2.5?
Will it work?
Somebody say, that there may be a new release with about starting 2023.
Below is a post from juli 2021 from tonyw !!
So IBX already supported 4.0 way back then.

MWA Software is pleased to announce the release of version 2.4.1 of IBX for Lazarus. This is a maintenance release that fixes a problem with using Firebird 4.0.0. The fix for this problem has already been published in the SVN Repository. All users should upgrade to this version.  It is available for download from

https://www.mwasoftware.co.uk/ibx

Nicole

  • Hero Member
  • *****
  • Posts: 972
Re: download fbembed.dll
« Reply #9 on: January 05, 2023, 07:03:09 pm »
Nicole checks the manual again and found - oh yes!!!

Very excited, - and - busy.
*upgrading to FB 4*

Thank you so much for the hint.

Thaddy

  • Hero Member
  • *****
  • Posts: 14382
  • Sensorship about opinions does not belong here.
Re: download fbembed.dll
« Reply #10 on: January 05, 2023, 07:12:03 pm »
Still leaves the same problem Rik, it is not embedded.
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

rvk

  • Hero Member
  • *****
  • Posts: 6169
Re: download fbembed.dll
« Reply #11 on: January 05, 2023, 07:33:18 pm »
Still leaves the same problem Rik, it is not embedded.
Which isn't a problem for either TS or Nicole.

domasz

  • Sr. Member
  • ****
  • Posts: 437
Re: download fbembed.dll
« Reply #12 on: January 05, 2023, 09:17:53 pm »

Multiple, but I would recommend staticcaly linked Sqlite3. Instructions can be found on this forum or on the mORMot website.
Interesting, it's a solution but honestly rather poor one. Still I won't be able to just compile my code for a different OS or architecture.

zoltanleo

  • Sr. Member
  • ****
  • Posts: 488
Re: download fbembed.dll
« Reply #13 on: January 06, 2023, 07:57:11 am »
Good morning. I'm using lazarus with firebird 4 on win64. I can't find the fbembed.dll library for single seater installs. Where can I download fbembed.dll ?
rvk is right. Firebird does not have a separate library since version 3.

Now it depends on the connection string. For example, to use a full-fledged server, do:
Code: Pascal  [Select][+][-]
  1. SQL>connect '192.168.1.1/3051:/interdata/example.fdb' -user 'SYSDBA' -password 'masterkey';

But such a connection string will be used for the embedded server:
Code: Pascal  [Select][+][-]
  1. SQL>connect '/interdata/example.fdb' -user 'SYSDBA' -password 'anypass';

See more
https://wiki.freepascal.org/Firebird#Connection_examples
Win10 LTSC x64/Deb 11 amd64(gtk2/qt5)/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.10; IBX by TonyW

Sorry for my bad English, I'm using translator ;)

Nicole

  • Hero Member
  • *****
  • Posts: 972
Re: download fbembed.dll
« Reply #14 on: January 06, 2023, 04:10:40 pm »
Do you like to try this?
https://lazarus.intern.es/firebird_embedded.html

This is German, what should not matter.
The link points on a list of files, which shall be copied into the very directory, which should work as "embedded".

 

TinyPortal © 2005-2018