Forum Discussion

ojo0608's avatar
ojo0608
Occasional Contributor
14 years ago

Is it possible to load all DLL functions into TestComplete?

Hi,



I want to call all the functions from DLL like 'include' in C.

I read the article "How to Call a DLL Routine From your script". This can call only one function, if I understood correctly.



I wonder how can I call all the DLL into TestComplete? It is possible?



Thanks in advanced.

Jake.

3 Replies

  • Hi,



    Before calling a function from a DLL, you need to define this function and its parameters as it is described in the help. If you want to call multiple functions, you need to define them all one by one. There's no other way to call functions from Win32 DLLs.
  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    The only other way I know of is if the DLL represents a COM object in which case you can instantiate it using Sys.OleObject() and then reference the functions that way.