We recommend to use IFDEF-checks, for example:
CurrentEurekaLogOptions. // ...
Alternatively there are functions (in EBase unit) like:
function IsEurekaLogInstalled: Boolean;
function IsEurekaLogActive: Boolean;
function IsEurekaLogActiveInThread(const AThreadID: Cardinal = 0): Boolean;
|•||EBase unit can be included into any application - even without EurekaLog;|
|•||There is a difference between "project compiled without EurekaLog" (when checking EUREKALOG conditional symbol) and "project compiled with EurekaLog, but EurekaLog is not active" (when using functions).|
Build date: 2021-10-15
Last edited: 2021-06-21
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/how_to_detect_if_eurekalog_is_active.php