Subject Re: [firebird-support] Embedded server not working in Win98SE
Author Diego Barros
Hi Helen,

I have tried as you suggested and I am still not able to get the embedded server version of my application deployed. I still get the error message "..." when I run myapp.exe.

On my development machine, after following your instructions, I am now able to run myapp.exe on the development machine and it is using the embedded server. I checked this by making sure I only had one copy of gds32.dll on my machine, and that was located where myapp.exe is. There is one copy of fbembed.dll, but that's where I extracted the contents of the Firebird Embedded distribution, and it's not in the application path.

By running "DLL Explorer" I was able to check that when I ran myapp.exe it was using gds32.dll, which is located in the same directory as myapp.exe.

The gds32.dll that I used is fbembed.dll renamed.

After I installed Firebird 1.5.2 on the clean Windows 98 SE VMWare image I was then able to run my application. What is the Firebird install doing that I am not?

BTW I am not using a firebird.conf or aliases.conf file with my application. I am, however, deploying firebird.msg.

Any help would be greatly appreciate.

Regards,
Diego

On Sunday, January 09, 2005, at 10:50PM, Helen Borrie <helebor@...> wrote:

>
>At 09:56 PM 9/01/2005 +1100, you wrote:
>
>>Hi all,
>>
>>I have an application that I want to use the FB embedded server with. I am
>>testing it on a clean install of Windows 98 SE. The application's
>>directory is "C:\myapp\app.exe". In the "C:\myapp\" folder I have the
>>following files:
>>
>>firebird.msg
>>gds32.dll
>>myapp.exe
>>myapp.fdb
>>
>>When I run myapp.exe I get the following error:
>>
>>"InterBase library gds32.dll not found in the path. Please install
>>Interbase to use this functionality."
>>
>>What else do I need to do to get this working? I have tried to get this
>>working by copying gds32.dll to into "c:\windows\system",
>>"c:\windows\system32" and in to "c:\windows\".
>>
>>BTW I have also set the database component's DatabaseName property to
>>"C:\myapp\myapp.fdb" instead of prefixing it with "localhost" as I do on
>>my development machine.
>>
>>The application is written in Delphi 7 using the standard Delphi IB
>>components.
>
>This is a problem with trying to use embedded in the Delphi IDE with
>Borland's components.
>
>The only workaround I know of is the following.
>In the appdir, temporarily rename the embedded server back to fbembed.dll.
>
>Then install the full Firebird server engine on your development machine
>and have it install the "compatibility" version of the regular client in
>the system directory. See
>http://firebird.sourceforge.net.index.php?op=faq#q0013.dat
>and
>http://firebird.sourceforge.net.index.php?op=faq#q0016.dat
>
>Compile the application in this environment.
>
>Once the app is compiled, detach everything and rename fbembed.dll (in the
>app directory) back to gds32.dll. The app should then run fine with the
>embedded engine.
>
>./hb
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>


Cheers,
Diego