Forum Discussion

krkarthik_info's avatar
krkarthik_info
Frequent Contributor
6 years ago

Unable to load C++ DLL

Hi All,   I have been trying to access routines from C++ DLL through TestComplete. But am getting the error as "Unable to load the dll library".   Using the below code to load the dll in Test...
  • krkarthik_info's avatar
    krkarthik_info
    6 years ago

    Hi Alex,

     

    Thanks for the suggestions. Actually I have gone through those limitations. 

     

    My DLL were referring two more DLL's. So I tried to call those DLL's first using DLL.Load() before calling my actual DLL. 

    This way I was able to resolved the issue on loading the DLL.

     

    After this, my next question arise out of the situation is:

    Can we call the C++ routines which resides inside the class as

    ClassName.RoutineName(arguments)

    Thanks in advance.

     

    Thanks,

    Karthik K R