I am writing the scripted GUI tests for a system which I do not have access to its source code; and I want to invoke the methods and access the properties of an OCX control (specifically the MSFlexGrid control) as I could not find any other way of finding out the number of rows and columns, as well as the data values in each cell, in the MSFlexGrid control used.
I've tried the Win32API, Win32OLE, and FFI libraries, but I still couldn't gain access to the OCX control for scripting. I may be missing something, and I don't know what.