Hello!

Sorry for getting in so late, are there any god notes/examples on how
to use InvokeTypes? Been looking around a little but don't get it
straight.

/ "Mark Hammond" <[EMAIL PROTECTED]> wrote:
|> So the new question is: how do you create a 1D array of variants
|> in python?
|> >From what I've read this is normally handled behind the scenes by
|> PythonCom...?
|
| That's correct - just pass a list or tuple.  However, that is rarely the
| complete answer - what *type* of variant should be in the array?  Since you
| only received this error when you changed to Missing, it appears LabView
| *is* seeing the real param as an array of variants, as it does not return
| this specific error.
|
| Sadly there is no easy way to explicitly specify the exact variant type,
| other than using InvokeTypes.

-- 
 "I [..] am rarely happier than when spending an entire day programming
my computer to perform automatically a task that it would otherwise
take me a good ten seconds to do by hand."
                                -- Douglas Adams, "Last Chance to See"
                                         -= May he rest in peace! =-

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to