Root > Reference > All Functions > CheckELMagicCode

Function CheckELMagicCode

Previous pageReturn to chapter overviewNext page   

Checks double word for being one of the known EurekaLog's "magic codes" (signatures).







Code (Delphi)

function CheckELMagicCode(

const ACode: DWord

): Boolean;



ACode [in]

A value to check.


Return value

True if ACode is MagicNumber7, MagicNumber6 or MagicNumber5 constants. False - otherwise.



"Magic code" is just a 4 bytes signature, which is used to indicate EurekaLog's data in executable.


Each version of EurekaLog uses its own magic code.


Magic code is also used to determinate correctness of password for encrypted debug information.


This routine is primary used in EDebugEL unit, but also used in some other places where you need to check if this is valid EurekaLog's data or not.

Send feedback... Build date: 2022-03-28
Last edited: 2022-03-28
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: