Forum Discussion
AlexanderM
Staff
13 years agoHi JayR,
TestComplete requires that the exported functions match the stdcall calling convention, you can see this requirement in the Calling DLL Functions From Tests - Known Limitations help topic.
Explicitly specifying the calling convention solves the problem:
ASSIST_EXT_CLASS INT _stdcall ExecuteCmdLine( LPCTSTR lpCommand, LPTSTR lpOutput)
The strange thing is that this limitation was always there, so I am not sure why it worked in version 6.51. However, explicitly setting the convention should not harm TC 6.51 tests anyway.