Knowledgebase: EurekaLog V7
7.x: "Invalid EurekaLog configuration found" error
Posted by Aleksandr Alekseev on 13 May 2025 14:47

Problem:

I receive the following error when I run my application compiled with EurekaLog with DLL also compiled with EurekaLog:

Invalid EurekaLog configuration found.

Exception from the following module:
full-file-name-to-your-EXE-or-DLL
was catched in the following module:
full-file-name-to-your-DLL-or-EXE
Both modules have EurekaLog enabled, but EurekaLog code is not shared.

This is essentially the same error as:
- "Can''t assign a TFont to a TFont";
- "Invalid class typecast";
- reInvalidCast;
- "Run-time error 10".
etc.

Possible solutions:
- Do not allow exceptions from one module escape into another (recommended)
- Compile DLLs with Lightweight DLL profile, so your DLL will not have EurekaLog's code
- Compile EXE and DLL with run-time packages, so EXE and DLL will share EurekaLog's code

 

Reason:

The check is triggered when EurekaLog catches exception, which has EurekaLog information assigned, but this EurekaLog information does not come from EurekaLog itself! 

 

Solution:

See this guide.

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please complete our anti-spam check below. This is required to prevent automated registrations and form submissions.
Enter "EurekaLog" here:


Help Desk Software by Kayako Resolve