Serialize COM variant to BLOB or IStream

后端 未结 1 1305
迷失自我
迷失自我 2021-01-19 01:11

Is there a standard way to serialize and deserialize a COM VARIANT, e.g. to/from a stream?

Haven\'t found any in MSDN, an I\'m a little surprised now.

1条回答
  •  梦毁少年i
    2021-01-19 02:01

    You can do this using the the VARIANT_UserMarshal function.

    General information on this function (and similar ones for other OLE Automation types) is available here: Marshaling OLE Data Types and here: The type_UserMarshal Function

    0 讨论(0)
提交回复
热议问题