Subject | Re: how to run embedded firebird in a CD in readonly mode. |
---|---|
Author | robert_hollay |
Post date | 2004-02-12T10:31:40Z |
Thanks, Artur, I will try this out.
Regards, Robert
--- In firebird-support@yahoogroups.com, "Artur Anjos" <artur@a...> >
Regards, Robert
--- In firebird-support@yahoogroups.com, "Artur Anjos" <artur@a...> >
> (Helen already report why the lock file is present)temp
>
> But what you want is possible.
>
> You just need to redirect the lock file to the hard disk, using a
> folder for this. You will not need to make any change in theregistry. I
> don't remember if the lock file definition is already onfirebird.conf or
> not (we did discuss this for a while in fb-devel). If it doesn't,there are
> some work around - copying some files to the hard disk before yourun your
> application, and clean them after you close. I know that this isn'tperfect,
> but you will need no more than 2 or 3Mb available on hard disk, andcopy
> will be fast on nowadays computers.maybe some
>
> Let me know if this info is enough for you.
>
> I checked an article from a friend of mine, (just in portuguese,
> online translator can help you):only
> http://www.gladisto.hpg.ig.com.br/artigos/fb_embeded/fb_embeded.htm
>
> He reports that the lock file will not be created if you use read
> databases. I'm not sure if he his correct or not in this point, butI do
> remember that we discuss this some months ago, and I'm sure he didsome
> tests before publish this. So, maybe he is talking aboutredirecting the
> lock file to hard disk, and in that case you just need to be abbleto create
> a small file on disk.
>
> Artur