If I run the following script there are no errors and the log is created with the appropriate values: Sub Array_of_Structures MyStructID = DLL.DefineType( "MyStruct", _ ...
Reinstalling Microsoft Script Debugging did not solve the problem so I fully uninstalled TestComplete and reinstalled it and everything is working fine again.