Welcome to MSDN Blogs Sign in | Join | Help

March 2007 - Posts

Something useful from 'junk' mails

With a high school junior in the house, we're receiving tons of 'junk' mails from colleges these days. They usually pile up on the desk until we have time to read and discard them. Today, my wife found something useful, or rather something we have been
Posted by fyuan | 2 Comments

XPS document with 100,000 pages?

Once a simple document format like XPS is created, it takes on a life of its own. Seeing the beauty of XPS, people are converting documents from differenent sources to XPS. People are trying to create XPS document with 10,000 pages, and even pushing for
Posted by fyuan | 1 Comments
Filed under:

Source code for Windows Graphics Programming: Win32 GDI and DirectDraw

Source code for Windows Graphics Programming: Win32 GDI and DirectDraw used to be on http://safariexamples.informit.com/0130869856/ . But link has been broken for quite sometimes. I've received a few emails from readers who has lost the CD of the book.
Posted by fyuan | 3 Comments
Filed under: ,

Convert XAML Flow Document to XPS with Style (multiple page, page size, header, margin)

XPS is a fixed document format in which pages are pre-formated to a fixed page sixe. On the opposite of the spectrum, WPF provides flow document which can be paginated dynamically in XAML viewer. To bridge the two, WPF provides features to convert a flow
Posted by fyuan | 27 Comments
Filed under: ,

Anatomy of STL Vector: Data Size

In the last post, we discussed the cost of using STL vector to module size. Now let’s take a look at how STL vector manages its data. Dia2Dump (Source code available in Microsoft Visual Studio 8\Dia SDK\Samples\Dia2Dump directory) shows the following
Posted by fyuan | 1 Comments
Filed under:

Anatomy of STL vector: Module Size

If you need a dynamic array in C++, a widely used class is the vector template class in STL. There are even books recommending replacement of plain C++ array with STL vector. This series is going to look at how STL vector is implemented and what is the
Posted by fyuan | 3 Comments
Filed under:
 
Page view tracker