IWbemClassObject* p = ...; // initialized somehow
VARIANT v;
V_VT(&v) = VT_UNKNOWN;
(V_UNKNOWN(&v) = p)->AddRef();
How to convert or assign the object to Variant type in vc 6.0
-
30-06-2022 - |
Domanda
I need to assign the object of IWbemClassObject to the Variant or how can i convert this object to variant type.
Thanks.
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow