Subject | Re: Minimal deployment of embedded FB in Windows |
---|---|
Author | maverickthunder |
Post date | 2009-08-24T13:28:40Z |
> 1. Can someone explain in what cases can I safely omit these files (msvcp80.dll and icuin30.dll) from the installer?fbembed.dll and/or fbclient.dll will not load because missing dependencies.
Days ago I was analyzing source code. You can, for e.g., move the fbembed.dll and dependencies to a subfolder inside your app.
But...
1) You must change current folder to the folder containing fbembed.dll or, in XP, you can use SetDllDirectory api.
2) You must set FIREBIRD environment variable SetEnvironmentVariable pointing to fbembed.dll's folder so embedded library will set it's root folder correctly
3) At last you must load fbembed.dll dynamically with LoadLibrary
4) Then you can restore current directory to previous one and erase FIREBIRD env. var.
> 3. When can i omit "fbintl.dll" and "fbintl.conf"? I suppose I need to connect with UTF8 charset and use no national collation, is that right?You will able to connect to database but any query that involves some non-default collation will return an error when executing.
Best regards,
Mauro H. Leggieri.