Question Send a variant parameter to com object

PhilW

New Member
try ing to automate OpenOffice(libreOffice) and it requires as a parameter that is an array of type variant!
Great !! no such animal in progress. i can create and the array with the necessary info in it as a com handle, but when its sent i get an error from libraoffice of cannot convert data type, tried char int etc as well no luck.
any ideas?
as an asside anyone know if Kingsoft Office works under windows RTS as this is an alternative thats easy to program for.

thanks phil.
 

PhilW

New Member
hi oli thanks for the interest but yes i have seen that it doesnt deal wilth variants only straight call to OO, im actually thr same Philw as mentioned in Adisneys post, i wrote an interfac for her to trap the OO events as it does do it correctly and so progress cant see them. just trying to get oo to work well, its a nightmare API and the documentation is very patchy. i suspect i will have to write another Dll to handle it. Progress as always is excellent and just this one problem.
 
Top