Hi,
I work with word.
To create my com object,I use this lines
Code:
- integer i_nb_docs i_count
- variant v_index v_window
- handle h_windows
- move (comcount(h_windows)) to i_nb_docs
- move 0 to i_count
- while (i_count < i_nb_docs)
- increment i_count
- move i_count to v_index
- Move (comItem(h_windows,v_index)) to v_window
- if (isNullComObject(v_window)) Begin
- ...
For the lines 8 and 9, I receive the error message "Illegal datatype conversion"
I didn't have any problem in VDF15.1. Is it not possible to move an integer in a variant ?
Is it something changed ?
Jacques