What does "Lines of Code" mean for a XAML file?

I have a utility that measures lines of code (CLC.EXE).  It works with C, C++, C#, Perl, x86 assembly language, command files and make files.   Now that I’m developing XAML code, I need to teach CLC how to measure XAML.  However, XAML is XML and isn’t arranged in lines to the same degree as the…

5

Beyond Hello World – My First WPF Application (with source)

My pet project for the holiday vacation has been writing a WPF application to view data from my code line counting tool CLC.EXE (soon to be released on Codeplex). CLC produces counts of lines, code, comments, and other statistics per file, per directory and for entire directory trees. When complete, the CLC data viewer (CLCV)…

7

WPF Styles

One of the things I planned to do this holiday season was spend some time learning about Windows Presentation Foundation (here is the Microsoft link). The first thing to did was write a “Hello World” program.  I wanted just a simple window with a text box that said “Hello World”.   It was easy – Expression Blend and…

1

Vista System Requirements, Minimum Supported and Minimum Recommended

One of the things I worked on for Vista was the System Requirements.   These are widely quoted, but the canonical source is Knowledge Base Article 919183. There are two sets of system requirements The minimum supported system requirements:  this is the bare minimum need to run any SKU of vista.   If the system doesn’t meat…

0

How Vista Enables Windows Aero – New Document Available

Windows Aero is Vista’s new user interface and is based on desktop composition which is the process where each window and the desktop background is drawn separately and then composed by using the 3‑D graphics engine to create the desktop image a user sees. Vista’s process for automatically enabling Aero is relatively involved, and to date, the…

13

Really Odd Spam…

I check my junk email folder every now and then.  Its a bit humorous the lengths some people will go to misspell Viagra.   But yesterday, some really odd spam arrived – 55 messages in total over about an hour and were sent to one an external alias I subscribe too. Other than a vague references to stock…

1

What does it take to run Aero

I receive a lot of questions internally and from partners about what it takes for a system to run the desktop composition Aero them.  The answer isn’t straight forward – desktop composition is much more demanding than XP’s GDI based window management.   Composition requires more system memory, good video memory bandwidth, decent shader performance and…

1

Graphics Memory Reporting in Vista

Vista manages graphics memory in a much more sophisticated way than XP.  In XP, the graphics driver was responsible for this; XP drivers report the amount of graphics memory however they want.  In Vista, the WDDM manages graphics memory and knows much more about it.  The new DXGI API’s report three types (or categories) of graphics…

1

No marketing people were hurt in the naming of this feature….

In the description of MIke’s recent Channel9 interview, Charles hints that Marketing named the feature.  Actualy, this was what we (the dev team) called the feature from the very begining!  Its one of the few internal code names that stuck as an acutal Marketing term. 

2

ISRs and DPCs, The Silent Killers

Hardware interrupt service routines and deferred procedure calls can be the silent killers of system performance.  ISRs and DPCs are the highest priority code that runs in the system – they cannot be pre-empted by the OS and run to completion. ISRs and DPCs that run too long – or too often – can eat…

1