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,
Learn How A Global Entertainment Company Saw a 448% ROI
Every business today uses software to manage systems, deliver products, and empower employees to do their jobs. But software inevitably breaks, and when it does, businesses lose money -- in the form of dissatisfied customers, missed SLAs or lost productivity. PagerDuty, an operations performance platform, solves this problem by helping operations engineers and developers more effectively manage and resolve incidents across a company's global operations. …
Today's agile organizations pose operations teams with a tremendous challenge: to deploy new releases to production immediately after development and testing is completed. To ensure that applications are deployed successfully, an automatic and transparent process is required. We refer to this process as Zero Touch Deployment™. This white paper reviews two approaches to Zero Touch Deployment--a script-based solution and a release automation platform. The article discusses how each can solve the key …