--- In [email protected], "entropyreduction" 
<alancampbelllists+ya...@...> wrote:
>
> Well, when you look at function description for myselect.Search,
> are you seeing VARIANT or VARIANT*? or any "byref " modifier on
> any parameter? 

from output of myselect.get_object_description("fdnpt"):

function:  Objects* Search(IN VARIANT for (optional), IN VARIANT wholeWord 
(optional), IN VARIANT caseSensitive (optional), IN VARIANT replacingWith 
(optional))

> > using comPlugin0.72_091218_no_guesses I get (for the values in the first 
> > row of the vector):
>  
> > local r=myselect.Search(chgVec[i,1], wholeword, casesensitive, chgVec[i,2])
> 
> So what are values of chgVec[i,1], chgVec[i,2] (I take it they're all 
> digits?).

The values in the failing row are
chgVec[0,1]:123
chgVec[0,2]:abc

> 
> > ERROR: com.method: Invoke failed (sys code 80020009: "Exception
> > occurred.")

I now think maybe the reason it works when I use unicode.new(chgVec[..]) in 
arguments is that your argument type-setting process is somehow seeing the 
unicode HANDLE LABEL "u\x5.." (which is the STRING seen when such a variable is 
debugged), and therefore setting the type as a string. Despite this, the 
content of what is subsequently processed is unicode encodes of the actual 
values (not the handle labels previously noted).

Possible?

Regards,
Sheri


Reply via email to