Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread TEDBEngine and TEDBSession
Thu, Jan 15 2009 4:10 AMPermanent Link

Bruno
Hi,

I'd like to know if for a local application , it is necessary to use a TEDBEngine component and a TEDBSession component ?

I'd like to know if for a remote application , it is necessary to use a TEDBEngine component and a TEDBSession component ?

My application is composed of a main executable and several dll, should a TEDBSession component used in each dll ?

Thank you for your answers

Best regards

Bruno Riviere

AJ SOFT
Thu, Jan 15 2009 5:56 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Bruno


>I'd like to know if for a local application , it is necessary to use a TEDBEngine component and a TEDBSession component ?
>
>I'd like to know if for a remote application , it is necessary to use a TEDBEngine component and a TEDBSession component ?

Yes to both. If you don't drop the components on the form yourself they will be created in the background and can be accessed by using the variables Engine and (I think) Session. However, if you want to customise settings at all you'll probably find it easier to have the components there so you can edit them in the IDE. With DBISAM I never dropped an engine component on a form, with ElevateDB I always do, if for no other reason than to set UseLocalSessionEngineSettings to True.

>My application is composed of a main executable and several dll, should a TEDBSession component used in each dll ?

Long time since I used dlls but my memory tells me you'll need the engine and session for each of them. Dlls do not share memory space with the main app and need their own components.

Roy Lambert [Team Elevate]
Fri, Jan 16 2009 5:05 AMPermanent Link

Bruno
Roy Lambert <roy.lambert@skynet.co.uk> wrote:

Bruno


>I'd like to know if for a local application , it is necessary to use a TEDBEngine component and a TEDBSession component ?
>
>I'd like to know if for a remote application , it is necessary to use a TEDBEngine component and a TEDBSession component ?

Yes to both. If you don't drop the components on the form yourself they will be created in the background and can be accessed by using the
variables Engine and (I think) Session. However, if you want to customise settings at all you'll probably find it easier to have the components
there so you can edit them in the IDE. With DBISAM I never dropped an engine component on a form, with ElevateDB I always do, if for no other
reason than to set UseLocalSessionEngineSettings to True.

>My application is composed of a main executable and several dll, should a TEDBSession component used in each dll ?

Long time since I used dlls but my memory tells me you'll need the engine and session for each of them. Dlls do not share memory space with the
main app and need their own components.

Roy Lambert [Team Elevate]

Thanks for all Roy Smile
Image