Forum Discussion
nwang66
15 years agoContributor
Count The number of the elements to be created. By default, it is 1, which means that you are creating one instance of the specified type. If Count is greater than 1, it means that you are creating an array of elements of the specified type. -- copied from TestComplete help
Try this,
...
MyStruct = DLL.DefineType("TemplateCodesStruct", VT_VARIANT, "Value")
Set TemplateCode = DLL.New("TemplateCodesStruct",2)
TemplateCode.Item(0).Value = "AEdit"
I think the count should be 2, which means array ... hope this hels.
Nancy
Related Content
- 10 months agoNicolaFilosa_SE
- 2 years agojerry91
Recent Discussions
- 21 hours agoGane195