Subject Re: [Firebird-Architect] RFC: External Engine API
Author Dimitry Sibiryakov
On 11 Dec 2007 at 23:57, Roman Rokytskyy wrote:

>C++ has the same issue - as you wrote, either you use some global
>variables or you pass the handles explicitly. If you use global
>variables (TLS, for example) and do not want to use TLS in the engine
>(or that DLL that exports the ISC API for ESPs), either application
>code or DB access components must explicitly know where and how to get
>them.

Here I would agree with Jim: global variables is "A BIG EVIL" and
must die. I don't see anything wrong with passing DB and TR handles
via parameters.

--
SY, Dimitry Sibiryakov.