Recent

Author Topic: (SOLVED)Using firebird clients on other PCs?  (Read 2940 times)

MartinIsla

  • Newbie
  • Posts: 6
(SOLVED)Using firebird clients on other PCs?
« on: December 15, 2014, 05:43:36 am »
Hello everyone!
I learnt Pascal some years ago, and now I'm using it to do a basic application.

It's basically an SQL grid. The thing is I have the server in my computer, and I want other people to modify data from the database.

So... I configured everything and the program works perfectly on my PC (using my public IP, and port 3050). Now I want other people to use it, but they need to fbclient.dll, fbembed.dll or gds32.dll.

Where can I find them? Do they need to install Firebird too, or can I include them on my app .rar?

Thanks!
« Last Edit: December 15, 2014, 07:38:32 am by MartinIsla »

kpeters58

  • Sr. Member
  • ****
  • Posts: 267
Re: Using firebird clients on other PCs?
« Reply #1 on: December 15, 2014, 06:45:05 am »
You should have them on your PC...

You should inform yourself with regards to licensing - some licenses require that people (i.e. your customers) get their own copies and prevent you from packaging them.
Lazarus 2.0.4/FPC 3.0.4/Win 64

MartinIsla

  • Newbie
  • Posts: 6
Re: Using firebird clients on other PCs?
« Reply #2 on: December 15, 2014, 07:30:21 am »
The thing is it asks me for fbclient.dll OR fbembed.dll OR gds32.dll. I found fbclient.dll, I placed it on the same folder as the .exe, but I still get the same error.

About licence: could there be a real problem? Firebird is free, and I only need my program for me and two more people

MartinIsla

  • Newbie
  • Posts: 6
Fixed it!
« Reply #3 on: December 15, 2014, 07:42:07 am »
It was actually pretty simple, but I couldn't find anything on Google.

What you have to do, if you have this problem, is:

1: add "Ibase60dyn" to uses
2: Write this:
Code: [Select]
InitialiseIBase60('fbclient.dll');
On the form create procedure.

Add fbclient.dll (found in FIREBIRD_INSTALLATION_FOLDER/WOW64) to the same folder your app .exe is located.

 

TinyPortal © 2005-2018