October 25, 2006

Avoid DLL Hell with Registration-free COM

eusable, dynamically linked components are generally a good idea, because they allow you to leverage code and save memory rather than reinvent the wheel. But with thousands of developers leveraging

Using auto_ptr

Suppose that a function normally allocates memory for an object, uses it, and then deallocates the memory. But if the function exits before reaching the end, either because of a

Placing Multiple Headers in a DataTable

A DataTable can only handle one header for each column. The workaround for this is to use two tables. Generate the first table at the same time as the DataTable

Use XSL-FO to Obtain a Page Number

This tip shows you how to use the fo:page-number and fo:page-number-citation elements to insert page numbers. To insert page numbers in your page’s footer, use fo:static-content: Page [] of []