Forum Discussion
Hi,
Check that your DLL meets requirements from https://support.smartbear.com/testcomplete/docs/testing-with/advanced/using-external-functions/calling-from-dll/known-limitations.html.
Especially those:
-- Only standalone exported routines can be called from TestComplete tests. There is no way to call methods of exported classes.
-- The DLL routine to be called must match the stdcall
calling convention.
Also check the bitness of TestComplete and DLL (https://support.smartbear.com/testcomplete/docs/testing-with/advanced/using-external-functions/calling-from-dll/specifics-of-32-and-64-bit-dlls.html).
nikki85, did you find an answer to your question? Please, share your solution with us.
- nikki856 years agoContributor
- TanyaYatskovska6 years agoSmartBear Alumni (Retired)
Have you tried suggestions given here? What exactly doesn't work when applying them?
- nikki856 years agoContributor
yes , I tried suggestions given here, error message is still object doesn't support this property or method: 'Lib.add'
Related Content
- 7 years ago
- 7 years ago
- 5 years ago
Recent Discussions
- 48 minutes ago
- 19 hours ago