Subject | Re: [firebird-support] Embedded C++ |
---|---|
Author | The Wogster |
Post date | 2006-02-16T11:49:07Z |
Alan McDonald wrote:
Here is what I meant:
znog.cpp contains EXEC SQL statements and sets up a connection
ziffle.cpp contains functions called by znog.cpp and I want to use the
same connection. So I am not setting up 15 gazillion connections for
the same client.
W
>>Thinking of using Embedded C++ for a small project.Actually I meant Embedded SQL in a C++ program using EXEC SQL statements.
>>
>>I have a question, the old IB docs aren't totally clear.
>>
>>Can connections be shared, across source files, and how do you do this????
>>
>>W
>>
>
>
> assuming you mean embedded firebird using C++
> embedded is a dll (client and server roled into one).
> the host application of the dll can open a database and make as many
> connections to it as it desires, but it is opened exclusively by the hosted
> dll and no other application loading it's own dll will get access to the db
> file while it is open via the first attachment
> Alan
>
Here is what I meant:
znog.cpp contains EXEC SQL statements and sets up a connection
ziffle.cpp contains functions called by znog.cpp and I want to use the
same connection. So I am not setting up 15 gazillion connections for
the same client.
W