Root > Reference > All Functions > IsEurekaLogInstalled

Function IsEurekaLogInstalled

Previous pageReturn to chapter overviewNext page   

Indicates if EurekaLog is installed in this application.

 

Unit

EBase

 

Syntax

 

Code (Delphi)

function IsEurekaLogInstalled: Boolean;

 

Return value

True if EurekaLog is installed, False - otherwise

 

Remarks

EurekaLog is considered to be installed if:

1.its source code was included into application (see ExceptionLog7 unit);
2.executable was processed by EurekaLog expert or command-line compiler (ECC32/EMAKE);

I.e. EurekaLog is installed if both true: source code is included AND options is included.

 

Debug information (which is required to build human-readable call stack) can be included or not - this doesn't matter for installation. EurekaLog can function without debug information.

 

Alternative to this function can be using of conditional directives.

 

EurekaLog defines the following conditional symbols:

EUREKALOG
EUREKALOG7

 

Examples

 

Code (Delphi)

uses

EBase;

// ...

if IsEurekaLogInstalled then

begin

// Do something if EurekaLog is installed

end;

 

Code (Delphi)

{$IFDEF EUREKALOG}

// Do something if EurekaLog is installed

{$ENDIF}

 

See also




Send feedback... Build date: 2023-05-05
Last edited: 2023-05-05
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.


Permanent link to this article: https://www.eurekalog.com/help/eurekalog/topic_function_ebase_iseurekaloginstalled.php