How can I determinate if EurekaLog is active or not?
Posted by Alexander Alexeev on 02 April 2009 10:32
We recommend to use IFDEF-checks, for example:|
Alternatively there are functions (in ExceptionLog unit) like
function IsEurekaLogActive: Boolean;
function IsEurekaLogActiveInThread(ThreadID: DWord): Boolean;
function IsEurekaLogInstalled: Boolean;
But that means that you need to include EL's code in your application even though EL was disabled for your project.
For description of the functions see our documentation at http://www.eurekalog.com/docs/
Note, that there is a difference between "project compiled without EL" and "project compiled with EL, but EL is not active".