Subject RE: [firebird-support] Re: Embedded again
Author George P Boutwell
> -----Original Message-----
> :: What you suggest may arguably be a good idea, but you need to
> :: understand that the model you are proposing is not how
> :: embedded works.
>
> I understand that's not how it works now. Im proposing a new embedded
> option. :)

Chad, proposing new embedded options and new features, etc... Hmm...
firebird-support is not the place for this. There are other, better groups
for that. For one you would be talking to architects and developers who
most likely developed the current embedded option and/or who frequently look
at modify and maintain the code enough to have the kind of 'developer'
technical discussions you are needing. The audience here are, 'users'
trying to help other users. I think at this point the 'users' have helped
you all that they can.

> :: So why use embedded? There are a number of places where it is really
> :: useful. For example, you may have a simple stand alone application
> :: where you need a DB backend but you do not want to have to install
> :: Firebird or interfere with other Firebird or Interbase installations
>
> Yes of course, but consider multiple applications wanting to use the same
> DB as well, or even multiple instances of the same application.

Couldn't you create your own shared memory and IPC mechanism to broker the
embedded connection through the first instance of the application and block
loading the embedded DLL, except by that instance and have all other
instances go through the first instance to get access to it?

> That's not the issue. The issue is that it has "interference" from
> firewalls and other such items. Noone seems to haven answered how I can
> solve the firewall (Access in local mode, without needing it using a TCP
> port) nor how I can even detect if FB is running to start an instance.

None of the existing firebird servers or embedded DLLs support this
scenario. To accomplish this with what's available today you'd either have
to add firebird to XP's firewall exception list (to avoid pops about the TCP
port) & check for existing installs, etc OR Download the source and hack and
slash the CLASSIC server to load in a DLL and behave the way you want it to.

George

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.7/34 - Release Date: 6/29/2005