Subject | Re: [firebird-support] Re: Embedded gds32.dll IBX Incompatability |
---|---|
Author | Helen Borrie |
Post date | 2005-03-08T00:47:27Z |
At 09:12 PM 7/03/2005 +0000, you wrote:
file. You will get this message if it can't get that access.
Exclusive means exclusive...so, if the IDE or some database admin tool is
being used at the same time as the EXE runs using embedded, the exe won't
be able to get exclusive access and you will get this error.
With XP, you will also have to watch out for the SystemRestore problem if
your database file has the extension ".gdb". SR will try to make an image
copy of the database file when your application tries to open it. SR gets
there first: so your application loses. Only replacing the extension with
".fdb" or something else will remove this problem.
./heLen
> > what are your isseus exactly? I use fbembed with IBX all the timeThe embedded client/server has to have exclusive access to the database
>and
> > it works without a glitch.
>
>I am trying to get fbembed 1.5 with BCB 5.0 working. I read thru tthe
>group archive, and tried some of the stuff, but I am still having
>some issues:-
>
>1.) I have renamed the file to gds32.dll and placed it in the same
>dir as the aplication exe is, along with the msg,udf etc.
>2.) I got the patched gds32 to reflect the version as 6.3.2.4731 for
>IBX compatibility, I got the file from the Merge module project
>3.) I am using Borland C++ Builder 5.0 Pro, with the supplied IBX
>4.) Initially I was getting database unavailable, but I after I
>alterted the path values (as said in some of archives), I am able to
>connect to the db from the IDE in design time.
>5.) When I run the exe, I get "I/O Error for file xyz.fdb....The
>process cannot access the file because it is used by another process"
>
>Any particular place I should look into resolving this?
file. You will get this message if it can't get that access.
Exclusive means exclusive...so, if the IDE or some database admin tool is
being used at the same time as the EXE runs using embedded, the exe won't
be able to get exclusive access and you will get this error.
With XP, you will also have to watch out for the SystemRestore problem if
your database file has the extension ".gdb". SR will try to make an image
copy of the database file when your application tries to open it. SR gets
there first: so your application loses. Only replacing the extension with
".fdb" or something else will remove this problem.
./heLen