Ted,
Did you try passing the array by reference?
Bo Durban
I'm trying to convert some sample code from VB into VFP, and there's a routine than DIMs an array and then passes it to a function:
Dim args() Set objDocument= objDesktop.loadComponentFromURL("private:factory/swriter", "_blank", 0, args)
Can anyone tell me how the args array should be declared in VFP so I don't get an "OLE Error 0x80020005: Type mismatch?" I've declared it as LOCAL args(1) to (10) and tried the variations of
COMARRAY(objDesktop, 1111) && and 0100 and 0010 and 0001 and 1111 and ...
and I've tried initializing the args array to NULL, zero, and a blank string.
Any other ideas? Or have I got the DIM function all wrong?
[excessive quoting removed by server]
©2002 wdurban (AT) datascantech D.OT com |