Tom Archer

71 articles

Loading Blowfish-Encrypted Data into an MSXML2 DOM Object

When using the MSXML2 library, you typically load XML files from disk into a DOM (Document Object Model) object by creating an instance of...

Using Delegates with Native Function Callbacks in Managed C++

Last year I wrote an article on using delegates and events with Managed C++. That article illustrated how to set up a publish/subscribe scenario...

Build a Maintenance Application with the XmlTextWriter/XmlTextReader Classes

The past several articles have demonstrated how to use both the XmlTextWriter and XmlTextReader classes to perform basic XML file, or document, tasks. This...

Reading XML Files with the XmlTextReader Class, Part 2

My previous article presented the XmlTextReader class and various code snippets that illustrated how to use it for sequentially reading XML documents or files,...

Reading XML Files with the XmlTextReader Class

In the previous article, I presented the XmlTextWriter class as a noncached, forward-only means of writing XML data. In this article, you'll look at...

Writing XML Files Using the XmlTextWriter Class

This first of a multi-part series on using the .NET XML classes begins with the logical first step: programmatically creating and writing XML files...

Owner-Draw Menus with .NET and Managed C++

While my main forte is low-level programming, I've always enjoyed writing owner-draw and custom-draw controls. When you think about it, there's a lot of...

Search Entire Directories for Specified Files with Managed C++

I recently designed and coded a popular anti-malware (spyware) application that, amongst other tasks, searched for known malware "fingerprints" in memory, on disk, and...

Using Regular Expressions to Parse for Email Addresses

This final installment in my series on using the .NET regular expressions classes from Managed C++ takes much of what the previous installments taught...

Using Regular Expressions to Search and Replace Text

A common task when dealing with user input or text files is searching through that input and replacing literals, special characters (such as carriage-return/line...

Make sure to follow Developer.com on Social Media