I've looked a bit at your sample. First: I have very few applications that are larger...
And it contains several constructs that even the VO compiler should never have accepted, like assigns without parameter, or code pieces like this:
Code: Select all
for nI = 0 upto nFiles -1
Code: Select all
assign ReadVersionOnTheFly( lSet) as logic pascal
If a method is declared "as pascal", then the parameter needs to be typed.
And .NET has a much better COM implementation than VO, so please use the relative COM interop, instead of this gigantic MSExcel module. This blows up only the application and generates a lot of code that will never be used.
Wolfgang
P.S. the X# compiler has found several parts of incorrect code like these also in my own applications, and I have corrected them on the VO side