This code provides two global functions, WriteVariantToStream and ReadVariantFromStream,
that enable you to read and write a variant to a stream. In addition, there are two other
global functions, ReadVariantFromBlob and WriteVariantToBlob, for reading and writing
a variant to a BLOB.
Here are some of the main advantages of these functions:
Uses any given IStream to stream the Variant into and out of.
Data is streamed in efficient binary form.
Stream is versioned for backwards compatibility.
Supports arbitrary size and arbitrary dimension safe-arrays.
Object streaming is supported if the object in variant supports
All code is in one header file (VariantStream.h) and only two routines are
exposed: WriteVariantToStream and ReadVariantFromStream.
Comes with supporting test code that tests the header file -- in case code
Does not use C++ exception handling. Test project has EH flag
Doesn't use the CRT.
Does not use any Direct-To-COM (VC++'s comdef.h, such as _variant_t, _bstr_t,
Live Event Date: October 29, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT
Are you interested in building a cognitive application using the power of IBM Watson? Need a platform that provides speed and ease for rapidly deploying this application? Join Chris Madison, Watson Solution Architect, as he walks through the process of building a Watson powered application on IBM Bluemix. Chris will talk about the new Watson Services just released on IBM bluemix, but more importantly he will do a step by step cognitive …
A modern mobile IT strategy is no longer an option, it is an absolute business necessity.
Today's most productive employees are not tied to a desk, an office, or a location. They are mobile. And your company's IT strategy has to be ready to support them with easy, reliable, 24/7 access to the business information they need, from anywhere in the world, across a broad range of communication devices.
Here's how some of the nation's most progressive corporations are meeting the many needs of their mobile workers …