Unable to load library
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unable to load library
Здравствуйте.
Test Complete версии 9.31.3889.7
В тестах используем библиотеку dll, написанную на Delphi
pathDll := PrimApp.Path + 'Tests.dll';
defEnvironment := DLL.DefineEnvironmentByDLL(pathDLL);
defDLL := defEnvironment.DefineDLL('Tests');
lib := defEnvironment.Load(pathDLL);
На строке загрузки библиотеки ошибка: Unable to load Tests.dll library
Ошибка проявляется только на одном компьютере, на остальных работает.
Просьба помочь в решении данной проблемы
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is the version of TestComplete the same on the error machine as on all the others?
Is the tests.dll in a folder on the error machine that TestComplete can access?
Try running TestComplete with Administrator privileges on the error machine and see if that helps.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. Yes, version of TestComplete the same as on all the others
2. Yes, tests.dll in a folder that TestComplete can access
3. Running TestComplete with Administrator privileges is not help
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
> На строке загрузки библиотеки ошибка: Unable to load Tests.dll library
> Ошибка проявляется только на одном компьютере, на остальных работает.
Might it be that this computer lacks some dependency dll that is required for tests.dll?
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I checked with depends.exe, but not found lacking dependencies
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Weird...
While I still think that the problem is related to something like missed (dynamic) dependency or bitness, etc. I would recommend to create Support case via the https://support.smartbear.com/testcomplete/message/ form.
If it wouldn’t be too much to ask, I’d love if you update this thread with what you will end with with Support.
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
