|
|
ID: 20193, Converting variants to XML
Provides a unit to convert variants to XML, including a function you can call from the IDEs Evaluate/Modify dialog to debug variants.
|
| Download
| Details
|
|
|
|
|
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
|
|
To download this, you must have registered:
|
For Delphi, Version 5.0
to 7.0
494 downloads
Copyright: No significant restrictions
Updated on Sun, 15 Jun 2003 04:24:10 GMT
Originally uploaded on Sun, 15 Jun 2003 04:23:18 GMT
SHA1 Hash: B35ECF50C73ED22772288420BCE50FC1F75DDC34
MD5 Hash: B64882580E63902CBCF9B870BFD79EEA
|
Explore the files in this upload
File Exploration is Disabled
We're sorry, but errors in the uploaded zip file prevent it from being explored.
The error generated by the Zip attachment is:
You may still be able to repair the zip file contents if you download the entire zip locally. You may also want to ask the author to repost the attachment.
|
| Description
|
Debugging can be cumbersome when Variants are involved, especially variants that contain arrays, nested to an unknown depth, or data types the IDEs watch window does not display properly.
This unit provides a class and some helper routines for converting a variant to an XML representation. It can deal with all common data types found in variants, handles nested arrays, and even some less common data types encountered in PROPVARIANTs, like VT_BLOB or VT_VECTOR.
To display a variant evaluate the function DebugDisplayVariant, passing the variant as parameter, and the XML representation for it will pop up in an Internet Explorer window.
To build this code you need Berend de Boers xml_generator. The header comment of the PBVariantUtils unit in the archive contains URLs for this.
|
|

Server Response from: USSVS-BDN14
|
Connect with Us