Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 3 of 3 total |
TEDBEngine and TEDBSession |
Thu, Jan 15 2009 4:10 AM | Permanent 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 AM | Permanent Link |
Roy Lambert NLH Associates 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 AM | Permanent 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 |
This web page was last updated on Saturday, May 4, 2024 at 09:18 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |