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;
Note, that there is a difference between "project compiled without EurekaLog" and "project compiled with EurekaLog, but EurekaLog is not active".
Build date: 2020-02-11
Last edited: 2019-06-14
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