Re: use customized data type in IDispatch.Invoke
"George" <George@discussions.microsoft.com> wrote in message
news:9DC869B4-96E7-4F8D-95CD-7E79120B8F36@microsoft.com
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
type?
http://msdn.microsoft.com/en-us/library/aa367129%28VS.85%29.aspx
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,
Igor Tandetnik
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