Re: use customized data type in IDispatch.Invoke
"George" <George@discussions.microsoft.com> wrote in message
I searched here. I find VARIANT is not in the list, is VARIANT ole
automation data type? If not, what are exactly ole automation data
Yes, VARIANT is an automation type (when passed by reference). You can
set up a VARIANT that refers to another VARIANT. I don't know why it's
not mentioned in the list.
2. automation compatible interface and automation compatible interface
what are the exact definition of the two terms above? I really did
some search, but not found any official ones.
Well, the very article you quoted sort of tells you. An automation
interface is one that's derived from IDispatch, or IUnknown and marked
[oleautomation], and whose methods only use automation types for their
parameters and return values.
With best wishes,
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925