Common Errors/en: Unterschied zwischen den Versionen
Cg (Diskussion | Beiträge) |
Cg (Diskussion | Beiträge) |
||
Zeile 11: | Zeile 11: | ||
Happens when a DLL-action block could not load its underlying dll. |
Happens when a DLL-action block could not load its underlying dll. |
||
Go to the "Extras" - "Settings" - "Project Management" - "DLL Mappings" dialog |
Go to the "''Extras''" - "''Settings''" - "''Project Management''" - "''DLL Mappings''" dialog |
||
and make sure that the folder in which your dll is |
and make sure that the folder in which your dll is |
||
located is listed in the DLL-Path list. |
located is listed in the DLL-Path list. |
Version vom 6. August 2017, 09:27 Uhr
The following list tries to summarize the most common error situations and provides advice on how to fixit. It is incomplete and does not cover all possible errors.
Inhaltsverzeichnis
Editor Errors[Bearbeiten]
Execution Errors[Bearbeiten]
Cannot find or load dll/module: "..."[Bearbeiten]
Happens when a DLL-action block could not load its underlying dll.
Go to the "Extras" - "Settings" - "Project Management" - "DLL Mappings" dialog and make sure that the folder in which your dll is located is listed in the DLL-Path list. If not, enter it, click on the "Add" button and save your settings.
Notice that the DLL-path setting is NOT stored inside the test suite, but instead a per-user/per machine setting which is stored in your ".expeccoSettings" file.
If the error is persistent, ensure that:
- the dll is readable (i.e. check the access rights)
- the dll is for the same OS+CPU architecture (especially check for 32bit vs. 64bit compatibility; also be reminded that windows dlls are not compatible with linux and vice versa).
- any other dlls required by the dll (i.e. second level dependencies) are also found along you path (windows) or LD_LIBRARY_PATH (unix/linux). Check this using an appropriate command line tool (ldd or similar tools)
[Bearbeiten]
A function (as specified in a DLL call action) was not found in the DLL (although a DLL by that name was found and has been loaded). Check for a mistyped function name in your DLL-call action, correct export definitions (windows ".def" files), up-to-date library (recompile/relink) and wrong path settings (loading the wrong dll).