Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread ElevateDB & Delphi 5
Mon, Feb 25 2008 11:09 AMPermanent Link

"Don Patrick"
 Delphi 5, Win 2k sp4, trial version of ElevateDB.

 Over the weekend downloaded the trial for ElevateDB and installed it in D5
no problems or errors. Created the tutorial database example in the manual
with the EDB manager had one problem there. For the default session the
login info page entries were blank filled in the default values and created
the Tutorial database.
 Moved to D5 and attempted to create the example app per the manual but
when I got to the database componenet and tried to fill in the Database
property it prompted me for a user name & password. Same problem with the
Table component when I when to pick the TableName property. I think this may
be related to the missing entries in EDB manager since I had to fill in the
defaults. The major problem came when I went to complie the project D5
choked on an internal error L1496.
 Saved that project and opened a new one if I drop ANY ElevateDB component
on the form and attempt to compile it I get the same complier error. I
uninstalled and reinstalled both the manage and the components but the
results are always the same. Any ideas or pointers would be appreaciated.
One final note I did have a Beta version of ElevateDB installed about a year
or so ago but that was uninstalled shortly afterwards.I don't remember any
complier problems with the Beta just had other issues.

Thanks,
 Don

Mon, Feb 25 2008 11:39 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Don


ElevateDB is a bit different to DBISAM. The minimum set of components its sensible to drop on a form is

TEDBEngine
TEDBSession
TEDBDatabase
TEDBTable,query,script

In the engine you'll see ConfigPath. Either this needs setting to the appropriate directory, or UseLocalSessionEngineSettings needs setting to True and the ConfigPath setting in the session.

BEFORE you can open any tables, queries, scripts you need to set the LoginUser and LoginPassword on the session. Also set the session SessionName

Then set the session for the database, and the databasename

Finally you need to make sure you set the session and database names for the table/query/script and you should be in business.

The L1496 I can't help with. Sorry

Roy Lambert
Mon, Feb 25 2008 3:08 PMPermanent Link

"Don Patrick"
Thanks roy I missed the line about the user name and password. But with the
compiler error looks like this is a dead issue anyways. Looks like I'll
stick with DBISAM.

"Roy Lambert" <roy.lambert@skynet.co.uk> wrote in message
news:A5A15764-78EC-41CA-9334-013A39D164E2@news.elevatesoft.com...
> Don
>
>
> ElevateDB is a bit different to DBISAM. The minimum set of components its
sensible to drop on a form is
>
> TEDBEngine
> TEDBSession
> TEDBDatabase
> TEDBTable,query,script
>
> In the engine you'll see ConfigPath. Either this needs setting to the
appropriate directory, or UseLocalSessionEngineSettings needs setting to
True and the ConfigPath setting in the session.
>
> BEFORE you can open any tables, queries, scripts you need to set the
LoginUser and LoginPassword on the session. Also set the session SessionName
>
> Then set the session for the database, and the databasename
>
> Finally you need to make sure you set the session and database names for
the table/query/script and you should be in business.
>
> The L1496 I can't help with. Sorry
>
> Roy Lambert
>

Mon, Feb 25 2008 4:45 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Don,

<< The major problem came when I went to complie the project D5 choked on an
internal error L1496. >>

I checked this out in extreme detail over the weekend to try and isolate
what the issue is, and unfortunately it just seems to be a bug in the D5
compiler/linker.  It doesn't occur with any other Delphi compiler version,
and judging from the comments that I've found via Google, we aren't the
first to encounter this error with D5.   The only response that Borland gave
was to try and use a different code construct once you isolate the area of
code that is causing the problem.  However, for us the area of the code that
is having the problem seems to be the entire edbcomps unit.   If I compile
with the .dcu only, it doesn't work.  If I use the .pas unit instead (the
source of the exact same .dcu), it works just fine.  I've checked and
double-checked our pathing, etc. to make sure that we're not mixing DCUs or
anything similar, and it is definitely an issue with D5.

I've posted an edbcomps.pas unit in the Binaries newsgroup so that you can
download it and use it instead with D5, and that's what will be included
with EDB from now on instead of just the edbcomps.dcu file.

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, Feb 25 2008 7:22 PMPermanent Link

"Don Patrick"
Thanks Tim I'll grap a copy and move on with this. I did download the D7
trial earlier today and that works fine just figured something was messed up
in D5. D5 works fine for what I do so never had a need to buy one of those
new fangled D200? models don't use D7 much either.

Thanks again,
  Don

"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote in message
news:122C90F4-388E-4234-B329-FB38B01A485E@news.elevatesoft.com...
> Don,
>
> << The major problem came when I went to complie the project D5 choked on
an
> internal error L1496. >>
>
> I checked this out in extreme detail over the weekend to try and isolate
> what the issue is, and unfortunately it just seems to be a bug in the D5
> compiler/linker.  It doesn't occur with any other Delphi compiler version,
> and judging from the comments that I've found via Google, we aren't the
> first to encounter this error with D5.   The only response that Borland
gave
> was to try and use a different code construct once you isolate the area of
> code that is causing the problem.  However, for us the area of the code
that
> is having the problem seems to be the entire edbcomps unit.   If I compile
> with the .dcu only, it doesn't work.  If I use the .pas unit instead (the
> source of the exact same .dcu), it works just fine.  I've checked and
> double-checked our pathing, etc. to make sure that we're not mixing DCUs
or
> anything similar, and it is definitely an issue with D5.
>
> I've posted an edbcomps.pas unit in the Binaries newsgroup so that you can
> download it and use it instead with D5, and that's what will be included
> with EDB from now on instead of just the edbcomps.dcu file.
>
> --
> Tim Young
> Elevate Software
> www.elevatesoft.com
>
>

Image