Resource Page DescriptionThe PhooView reference application, also known as the Windows XP to Windows 7 (XP2Win7), provides a tour of the unique Windows 7 technical features that enable developers to “light up” their applications on Windows 7. The XP2Win7 reference application features the Image Viewer, a WPF application that runs on XP. But the fun starts when you run the same application on Windows 7, which unlocks new technologies such as Taskbar, the Sensors and Location Platform, and Multitouch, as well as “old” Vista friends such as Application Recovery and Windows Search. This project shows that by exploiting Windows 7 features you can add a great deal of value to your application with relatively little effort and without sacrificing backward compatibility.
We designed this reference application as an “educational” project to show developers how to “light up” existing Windows applications by using built-in Windows 7 technologies without sacrificing backward compatibility for existing Windows XP customers. Our goals are to lower the bar for managed code developers who want to target Windows 7 native APIs and to show native code developers the new APIs. As a reference “educational” application, the application contains functionality that you do not normally find in regular applications, like a Crash button that will crash your application to demonstrate Windows 7 Restart Manager capabilities.
Ohter features that we use in our application are:
• Windows Search
• UAC
• Scheduled Task
• Windows 7 Taskbar Integration
• Transactional File System
• IO Optimization
• Event Tracing for Windows (ETW)
• Microsoft Management Console
• Windows 7 Libraries
• Windows 7 Sensor and Location Platform
• PowerShell
• Preview Handler
• Aero Glass
• Trigger Start Services
You can download the overview document to get a better understanding of the application capabilities and Windows 7 features that are being used.
http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=XP2Win7&DownloadId=6563 To start using the app, all you need to do is download the application installer and run the MSI, and you are ready to go. This will install the application including source code
PrerequisiteTo run this application you need:
• .NET 3.5 SP1 (which ships in box in Windows 7)
• SQL Express (or SQL) either 2005 or 2008
http://www.microsoft.com/express/sql/download/ To view the source code and perform partial compilation to the application all you need is Visual Studio 2008 SP1. To fully control every aspect of the application and compile the entire solution (including the native code projects) you will also need Windows 7 RC SDK (or above).
• Visual Studio 2008 + SP1 -
http://www.microsoft.com/visualstudio/en-us/default.mspx• Windows 7 RC SDK -
http://www.microsoft.com/downloads/details.aspx?FamilyID=6db1f17f-5f1e-4e54-a331-c32285cdde0c&displaylang=en This reference application was developed by Microsoft Developer Platform Evangelism group and Sela Software Labs