Month: May 2006

XML-RPC and COM

This is what’s been cooking here for some time and given certain amount of time and intent it is going to be completed to the least usable state. XML-RPC is a specification to deliver remote procedure calls via XML requests and responses using HTTP connection as a communication channel. Its advantage is it’s quite popular.…

Read the full article

ATL: Export from registry code snippet

The code snippet exports registry key (with values and subkeys) into .reg file format stream. The stream can be memory stream or any other IStream compatible implemetnation. See also: How To Add, Modify, or Delete Registry Subkeys and Values by Using a Registration Entries (.reg) File Visual C++.NET 2003 project: Download

Multidimensional VARIANT arrays

VARIANT arrays (SAFEARRAYs) are useful because they are OLE Automation compatible but multidimensional ones are used rather rarely. Unfortunately, the order of indexes is different depending on API. Somewhere it’s normal, somewhere it’s reverse and, as for me, I need to refresh this knowledge almost every time I come across a multidimensional VARIANT array. I…

Read the full article