Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Базы";
Текущий архив: 2006.10.01;
Скачать: [xml.tar.bz2];

Вниз

FireBird Embeded в реализации   Найти похожие ветки 

 
tomkat   (2006-07-25 15:11) [0]

День добрый! кто-нибудь юзал сабж ? Подскажите, как сие чудо заставить работать?  скопировал все что было в кталог программы, а воз и ныне там - база не открывается ..
Заранее спасибо !


 
Desdechado ©   (2006-07-25 15:20) [1]

"Когда ничего не помогает, прочтите, наконец, инструкцию!"
(с) не помню


 
Tomkat   (2006-07-25 15:25) [2]

Да прочитал ....
"...скоприруйте библиотеку в каталог программы..."
вот и вся дока ..


 
Desdechado ©   (2006-07-25 15:31) [3]

> все что было
Это надо брать от официального производителя, а не у ежика из подворотни.
Тогда и инструкция будет. И глючить не будет.


 
Tomkat   (2006-07-25 15:33) [4]

ну , если на ibase.ru ежики прописались :-)
полезем на птицу-Феникс


 
DrPass ©   (2006-07-25 15:36) [5]


> скопировал все что было в кталог программы, а воз и ныне
> там - база не открывается ..

и, конечно, переименовал в gds32.dll, и используешь локальный протокол для подключения...


 
Tomkat   (2006-07-25 16:04) [6]

хм, вот с переименовкой не сделал такого, хотя и мог догадаться ....
протокол локальный
переименовал, вот теперь на кодироку ругается WIN1251... типа нет такой ..


 
atruhin ©   (2006-07-25 18:30) [7]

Читать инструкцию умеем?

Firebird 1.5.1 Embedded Server notes
-----------------------------------------------------------

1. GENERIC INFORMATION

 The embedded server is a fully functional server linked
 as a dynamic library (fbembed.dll). It has exactly the
 same features as the usual server and exports the
 standard Firebird API entrypoints.

2. ISSUES AND LIMITATIONS

 2.1. Registry

   The Firebird registry entries are ignored. The root
   directory of the embedded server is the directory of
   its binary file (library).

 2.2. Database access

   Client access can be only via the TCP/IP local loopback
   protocol, i.e. a TCP/IP connection string that includes
   the server name "localhost" or IP address 127.0.0.1; or
   by using the Named Pipes protocol incorporating the
   Windows server name.
   
   The embedded server does not support the IPServer "local
   connect" to a database file path without a server name.
   The client must have exclusive access to the database file.

   The embedded server acts as a true local server for a single
   client accessing databases on a local machine.  It can also
   act as a remote gateway that redirects all network calls to
   other hosts, just as the regular client library
   does.

 2.3. Authentication and security

   The security database (namely security.fdb) is not used
   in the embedded server and hence is not required. Any
   user is able to attach to any database. Since both
   the server and the client run in the same address space,
   the security becomes just an agreement between both
   sides which can be easily compromised.

   But note that SQL privileges are still checked.

 2.4. Compatibility

   You may run any number of applications with the embedded
   server without any conflicts. Having IB/FB server running
   is not a problem either.

   But you should be aware that you cannot access single
   database from a number of the embedded servers
   simultaneously, because they have SuperServer architecture
   and hence exclusively lock attached databases.


 
atruhin ©   (2006-07-25 18:31) [8]

3. USAGE

 Just copy fbembed.dll into the directory with your
 application. Then rename it to either fbclient.dll or
 gds32.dll depending on your database connectivity software.
 Then start your application and it will use the embedded
 server as a client library and will be able to access
 local datasases. You should also copy firebird.msg and
 firebird.conf (if necessary) to the same directory.

 If external libraries are required for your application,
 then you should have them separately. Most probably, it
 will be INTL support (fbintl.dll) or UDF libraries. To
 be able to use them, you should place them into the
 directory tree which emulates the Firebird server one,
 i.e. has subdirectories like /intl or /udf:

 c:\my_app\app.exe
 c:\my_app\gds32.dll
 c:\my_app\ib_util.dll
 c:\my_app\firebird.conf
 c:\my_app\firebird.msg
 c:\my_app\intl\fbintl.dll

 c:\my_app\udf\fbudf.dll

 If you want to place the Firebird files (excluding the
 renamed fbembed.dll) in another directory, you need to
 modify your firebird.conf and set RootDirectory to the
 Firebird directory tree. Example:

 c:\my_app\app.exe
 c:\my_app\gds32.dll
 c:\my_app\ib_util.dll
 c:\my_app\firebird.conf
 d:\fb\firebird.msg
 d:\fb\intl\fbintl.dll

 d:\fb\udf\fbudf.dll

 firebird.conf:
 RootDirectory = d:\fb


 
Petr V. Abramov ©   (2006-07-26 22:56) [9]

вопрос, кто на какие грабли наступал, остается в силе


 
atruhin ©   (2006-07-27 00:26) [10]

> вопрос, кто на какие грабли наступал, остается в силе

А где такой вопрос? И нет там никаких граблей. Для разработки используешь нормальный сервер, после копируеш соответствующие файлы в каталог и все.
Использовал несколько раз, без проблем.



Страницы: 1 вся ветка

Форум: "Базы";
Текущий архив: 2006.10.01;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.47 MB
Время: 0.077 c
2-1157713959
newbie2
2006-09-08 15:12
2006.10.01
Как посмотреть интерфейс функций из dll?


15-1158048270
Чапаев
2006-09-12 12:04
2006.10.01
Про BDS2006


1-1155812703
DelphiLexx
2006-08-17 15:05
2006.10.01
Буфер обмена сделать локальным для


6-1147288174
Dstr
2006-05-10 23:09
2006.10.01
Перечисление IP


9-1136410330
AKMTT
2006-01-05 00:32
2006.10.01
Анимация объекта





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский