Page 1 of 1

Question: Why BDE TBDESession (BDESESSION) ?

Posted: Sat 22 Mar 2008 13:07
by Horace
Plash,

Your ReadMeSrc.txt file states:
If you want that the odacvcl package does not require BDE packages, find and comment the following line in the Odac.inc file before you compile ODAC:
{$DEFINE BDESESSION}
In this case the TBDESession component will not be present in ODAC.
Q1: What are the negative consequences of eliminating the dependency on TBDESession component ?
Q2: If there aren't any, why not disable this dependency by default ?
Q3: Why is the Borland Database Engine required for Oracle Database anyway ?


Regards,
Horace

P.S.
The word "be" marked in red in the quote below is missing from the ReadMeSrc.txt file. This constitutes a grammatical error in English.

Posted: Mon 24 Mar 2008 07:59
by Plash
TBDESession component uses BDE units. So, bdertl package must be included in 'requires' clause of odacvcl package.
If you complile your application with runtime packages, and use odacvcl package, your should remove BDESESSION.
Otherwise you need to distribute bdertl package with your application.

TBDESession component is not disabled by default for compatibility with previous ODAC versions.