Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

(VS2010 Beta1) Native Parallel Programming: ConcRT example -- Debugging TwentyFour

In a previous posting, we presented a simple C++ parallel program TwentyFour, which is based on the new native parallel programming API (ConcRT) introduced in Visual Studio 2010. In this posting, we're going to discuss on how understand the running of
Posted by fyuan | 2 Comments
Filed under:

(VS2010 Beta1) Native Parallel Programming: ConcRT example -- TwentyFour

.code { word-wrap:break-word; margin:10px; padding:10px; border:2px ridge white; background-color:#eeeeee; font-family:Courier New; font-size:10pt; } WIth Microsoft Visual Studio 2010, Microsoft is releasing a new set of API for native parallel programming
Posted by fyuan | 0 Comments
Filed under:

STS: A palindromic word I will remember

Continuing searching palindromic sqaure numbers finds a new record number, a 55 digit parlindromic square: 1373512530649258635292477609 ^ 2 = 1886536671850530641991373196913731991460350581766356881 Quite a few records for other palindromic sequences have
Posted by fyuan | 1 Comments

A 53-digit Palindromic Square Number

Six years ago I wrote a program to search for palindromic square numbers and other palindromic numbers and found some new palindromic numbers. But with increasing length, the search became longer and longer so I finally gave it up. Recently I got a new
Posted by fyuan | 1 Comments

XpsStat: A program for gathering statistics information of XPS documents

In the Winhec presentation on XPS document performance optimization, a simple program XpsStat is introduced to analyze XPS documents. Given an XPS document, XpsStat generates four or five tables in HTML format: Container Summary Table: information about
Posted by fyuan | 5 Comments
Filed under: ,

XPS Performance

There will be two XPS related sessions at Winhec 2007 tomorrow, focusing on Performance Optimization for XPS Document. The techincal presentation (CLN-T371 ) will be at 8:30am to 9:30am in Room 502AB. Shortly after that (9:45 to 10:45), there will be
Posted by fyuan | 1 Comments
Filed under: ,

XPS at Winhec 2007

Today (May 15, 2007) is the first day of Winhec 2007. If you're application developers, printer/scanner/multi-functional device vendors, you may be interested in the following XPS related sessions. CLN-T370 XPSDrv: Best Practice using Print Verifier,
Posted by fyuan | 1 Comments
Filed under: ,

A Simple XPS Decoder in C++

If you write programs in C#, Windows Presentation Foundation in .Net 3.0 provides quite nice API to write, generate and manipulate XPS documents. You can get the same feature if you work with managed C++ in .Net 3.0. Even if you work with .Net 2.0, you
Posted by fyuan | 10 Comments
Filed under: ,

Another Ph.D for Bill Gates

On April 19th, Bill Gates has been awarded a honorary Ph.D degree by Tsinghua University ( http://en.wikipedia.org/wiki/Tsinghua_University) , the best engineering school in China.
Posted by fyuan | 2 Comments

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:
More Posts Next page »
 
Page view tracker