Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Server Compile Issue
Mon, Jun 12 2017 4:52 PMPermanent Link

Lance Rasmussen

CDE Software

Avatar

Team Elevate Team Elevate

In the 32 bit Tokyo code for the server in the TServerTraceThread.Execute procedure, I'm having a compile issue.

               FLastException := AcquireExceptionObject;

E2010 Incompatible Types 'Exception' and 'TObject'.

Shouldn't that be casted?

               FLastException := AcquireExceptionObject as Exception;
Tue, Jun 13 2017 12:32 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Lance,

<< In the 32 bit Tokyo code for the server in the TServerTraceThread.Execute procedure, I'm having a compile issue.

               FLastException := AcquireExceptionObject;

E2010 Incompatible Types 'Exception' and 'TObject'.

Shouldn't that be casted?

               FLastException := AcquireExceptionObject as Exception;
>>

Probably.  Right now we're using XE6 and XE for our 64-bit and 32-bit builds, respectively, so the source code that we ship for the servers may not be up-to-date for the most recent version of RAD Studio/Delphi.

Tim Young
Elevate Software
www.elevatesoft.com
Image