Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
またはを使用する必要がありますobjectかvariant?どんな違いがあるの?
object
variant
Objectを使用する場合、クライアントはサポートするものを渡す必要があります。IUnknownつまりIDispatch、パラメータはオブジェクトである必要があります。Variantを使用する場合、クライアントは何でも渡すことができます。
IUnknown
IDispatch