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,
The relentless growth of digital data, combined with the need to preserve much of that data for years, has created a dilemma for enterprises hoping to manage their limited IT budgets. While a multi-tier approach to storage can help significantly, the costs of current storage solutions, especially those that are disk-based, are misaligned with tiering needs. Read this white paper to learn about a new approach to data storage - hardware and software coming together through open standards to fundamentally change …
As the IT function evolves to a business-oriented mindset, sustaining skilled workforces is an increasing requirement for IT leaders. In this research brief focused on strategies to build and maintain a skilled IT workforce, Gartner offers actions to mitigate the negative impacts of increasing demand and turnover in the IT workforce and amplifies the importance of continuous growth and development in retaining skilled workers.