Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 8 of 8 total
Thread TEDBApplicationEvent
Thu, Apr 21 2016 12:52 AMPermanent Link

Peter

Hi there again

I am attempting to build the EDBManager project, as I hardwire the LocalEncryptioPassword, LocalSignature, LoginPassword, RemoteEncryptionPassword and RemoteSignature. I also make some minor changes to this outstanding utility, and call it my own Smile

I am running version 2.22 Build 2 on Delphi XE8. The target platform is 64 bit, and the database is Unicode.

I compiled the manager a couple of months ago, but today it will not compile, saying "Undeclared identifier: TEDBApplicationEvent". I can't find any references to that object anywhere, so I am at a loss as to how I can compile a new version.

XE8 has been bombing all over the place, so perhaps a library path has been lost, but it all appears OK.

Has anyone any suggestions please?

Regards

Peter
Thu, Apr 21 2016 4:04 AMPermanent Link

Matthew Jones

Peter wrote:

> "Undeclared identifier: TEDBApplicationEvent". I can't find any
> references to that object anywhere

Sounds like a procedure definition, like TEvent to me, not an object.
Disk search?

--

Matthew Jones
Thu, Apr 21 2016 8:26 AMPermanent Link

Raul

Team Elevate Team Elevate

On 4/21/2016 12:52 AM, Peter wrote:
> I am attempting to build the EDBManager project, as I hardwire the LocalEncryptioPassword, LocalSignature, LoginPassword, RemoteEncryptionPassword and RemoteSignature. I also make some minor changes to this outstanding utility, and call it my own Smile
> I am running version 2.22 Build 2 on Delphi XE8. The target platform is 64 bit, and the database is Unicode.
> I compiled the manager a couple of months ago, but today it will not compile, saying "Undeclared identifier: TEDBApplicationEvent". I can't find any references to that object anywhere, so I am at a loss as to how I can compile a new version.
> XE8 has been bombing all over the place, so perhaps a library path has been lost, but it all appears OK.
> Has anyone any suggestions please?

Did a quick test here (running 2.23 B2 though) - compiled and installed
edbutilcomps and then tried edbmanager, I did have an issue with the
{$I} directive on top of edbmgr unit but after it compiles fine.

Did a quick search in source and i cannot find a reference to to
TEDBApplicationEvent - looks like your code to me.

Raul
Thu, Apr 21 2016 11:00 AMPermanent Link

Matthew Jones

Raul wrote:

> Did a quick search in source and i cannot find a reference to to
> TEDBApplicationEvent - looks like your code to me.

Search again - I find 5 references in the Elevate DB source. THe
definition is in edbutilcomps.pas - first type there.

 TEDBApplicationEvent = class;
 TEDBQueueEvent = class;
....

--

Matthew Jones
Thu, Apr 21 2016 12:17 PMPermanent Link

Raul

Team Elevate Team Elevate

"Matthew Jones" wrote:
<<
Search again - I find 5 references in the Elevate DB source. THe
definition is in edbutilcomps.pas - first type there.

 TEDBApplicationEvent = class;
 TEDBQueueEvent = class;
....
>>

No luck here - is this in 2.23 b2 source ?

My edbutilcomps.pas (there are 2 of them) has no reference to TEDBApplicationEvent nor TEDBQueueEvent.

Raul
Fri, Apr 22 2016 4:09 AMPermanent Link

Matthew Jones

Raul wrote:

> No luck here - is this in 2.23 b2 source ?

No idea. It does though indicate the root problem, which will be an
incompatible source set on the disk. On mine, TSQLForm has

procedure ProcessEventQueue(Event: TEDBApplicationEvent;
      var Processed: Boolean);


If that is different in later versions, then it being missing means
that the code versions are incompatible, and updating fully (and
eliminating the other versions) will get Peter working again.

--

Matthew Jones
Fri, Apr 22 2016 8:51 AMPermanent Link

Raul

Team Elevate Team Elevate

On 4/22/2016 4:09 AM, Matthew Jones wrote:
> No idea. It does though indicate the root problem, which will be an
> incompatible source set on the disk. On mine, TSQLForm has
>
> procedure ProcessEventQueue(Event: TEDBApplicationEvent;
>         var Processed: Boolean);

None of that exist. Closest i can think of is that newer version has
TSQLEvent and TSQLEventPool so that might have replaced it.

> If that is different in later versions, then it being missing means
> that the code versions are incompatible, and updating fully (and
> eliminating the other versions) will get Peter working again.

Agreed - definitely looks like Peter has a mix of old/new units on path.

Raul


Mon, Apr 25 2016 10:54 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Peter,

Sorry, I completely misread your original question and thought that you were talking about the TApplicationEvents class, not the TEDBApplicationEvent class, and I thought that it was a general Delphi question.

The TEDBApplicationEvent class no longer exists - it was removed in 2.22 when the handling of the server events was changed to use Windows messages instead of the existing design.

If you're running into an issue with compiling *any* of the utility source code, make sure that you're using the 2.22 or higher versions of the source code for the utility, and not something older.

Tim Young
Elevate Software
www.elevatesoft.com
Image