I have a com object that I need to access which provides my a
list of addresses in an Array. The object give me a property that
has a count for the number of addresses and then I have a loop that
calls the property which contains the address details to get each
individual address each time passing to the property the INDEX
value on the loop.
This errors out each time.
The error I get is
Error casting an object of type to an incompatible type.
This usually indicates a programming error in Java, although it
could also mean you have tried to use a foreign object in a
different way than it was designed.
It appears the the variable type of the index is not
compatible with the property of the component(which is an int).
IS there some way to type cast the variable used as the index
for CFLOOP to that of an INT?