Strange DLL issue
Is there a way to force TestComplete to release a DLL I have loaded and clear it from memory?
I have a DLL I use in my testing. This DLL was created by our programming department to get information from some of our custom fields(e.g. lists, grids) in our PC applications. There are two different PC applications we test. They are created with the same base code but are completely different applications and I use the DLL in testing both applications.
The DLL I use is installed in a directory under each application. For example:
- c:\App1\System\Bin\MyDLL.dll
- c:\App2\System\Bin\MyDLL.dll
Depending on which application I am testing I load the corresponding DLL.
This DLL works fine when I am testing just one of the applications but I have a need to now test features in both applications in the same test run and this is causing MyDLL to have issues. Some of the functions are returning bad information when I use them in this manner. It appears that TestComplete is holding onto the reference for the DLL in the first test and it is messing up the call on the second test.