Browse by Tags
All Tags »
Windows7 (
RSS)
The Windows Restart Manager (introduced in Windows Vista) supports gracefully shutting down and restarting applications that registered for restart with the RegisterApplicationRestart API. This functionality is used by Windows Update – thanks to the Restart Manager, when I come yawning to my desktop PC in the morning, even following a system restart, I have my Outlook, browser windows, OneNote, Visual Studio, and Messenger all lined up as they were when I went to bed. Suppose you want to initiate...
A year and a half ago I touched on the subject of debugging process startup , such as the startup of Windows Services, using the GFlags utility (the ImageFileExecutionOptions registry key). The general idea is to rely on the Windows loader to launch a debugger instead of the debugged process, and trace your way through the process startup code. Unfortunately, this relies on the debugged process to run in the same session as you—otherwise, you won’t be able to actually see the debugger. Starting from...
The UAC section of an application’s manifest contains two simple settings under the <requestedExecutionLevel> element of the <requestedPrivileges> node: level – asInvoker, requireAdministrator, or highestAvailable. This setting controls whether the application will require elevation before it runs. uiAccess – true or false. This setting determines whether the application will exempt from UIPI rules introduced as part of the Windows Integrity Mechanism. If you really need the uiAccess...
More Windows 7 videos that I recorded have been posted on Channel 9. This installment deals with Windows 7 shell libraries and Federated Search, a subject that I haven’t covered in depth on my blog. The videos feature an introduction to shell libraries and demonstrate how to integrate your application with Windows 7 libraries from managed and native code, how to register for library change notifications (if you care about changes to library contents), and how to use Federated Search to integrate...
Rather than make an HTML index of the videos , I figured it would be more convenient for my visitors to watch the videos directly from here, thanks to the Channel 9 embedding capabilities (and Silverlight). Introduction and Application ID Overlay Icons and Progress Bars Jump Lists Part 1 Jump Lists Part 2 Custom Previews and Thumbnail Clips Tabbed Thumbnails When more videos are posted, I will create new posts that will have them embedded.
As part of our work on the Windows 7 training materials, I recorded 23 short how-to videos explaining how to use the new Windows 7 features from managed code (often using the Windows API Code Pack ) and from native code. Our Sela team, including Alon , Dima, Arik , and many others, collaborated on the slide decks, demo code, and other aspects of these recordings. The first installment of these videos is already live on Channel 9 —you can download or watch online six videos about the Windows 7 taskbar...
Pedro Teixeira is going to talk about processes and threads in systems with more than 64 logical processors as well as user-mode scheduling. Surprisingly for some people, NUMA is not an esoteric hardware architecture. Even high-end gaming rigs today are NUMA; Pedro is going to use a loaned machine by HP that has 256 processors with 1TB of physical memory. Processor Groups Adding support for more than 64 logical processors required a breaking app compat change, because CPU masks were represented in...
Yochay , a good friend and co-author of “Introducing Windows 7 for Developers” and of the “Windows 7 Taskbar APIs” MSDN Magazine article , is delivering a presentation on the Windows API Code Pack . (Which is a library of managed APIs to interact with Vista and Windows 7 features that are otherwise accessible only from native code through COM and Win32 APIs.) This library replaces many of the sample managed integration libraries that our team at Sela developed for the Windows 7 Metro Training, such...
Before Mark’s session today at the PDC, I exhibited typical Israeli chutzpah while he was helping himself for some coffee, and introduced myself as one of the co-authors of Introducing Windows 7 for Developers . Mark did us the honor of writing the book’s foreword, and he even found it useful for the Disk2vhd Sysinternals utility which creates a virtual machine hard disk from your existing physical disk – the latest release of the utility shows the operation’s progress using the Windows 7 taskbar...
It’s not the first time that I hear Mark Russinovich ’s session on the Windows 7 and Windows Server 2008 R2 kernel changes. Eran Stiller wrote a good post summarizing the main kernel changes (based on the materials from the Windows 7 Bootcamp at the PDC pre-conference day), so I’m not going to repeat the same here. Additionally, you can watch Mark talk about Windows 7 internal changes on Channel 9 . Among the biggest kernel changes are optimizations that have to do with scaling Windows to hundreds...
Our book, “ Introducing Windows 7 for Developers ”, is now in stock on Amazon! Several months ago, Alon Fliess , Yochay Kiriaty , Laurence Moroney and I decided to write a Windows 7 book for developers. With the abundance of new features in Windows 7 and the great interest from the developer community, we just had to write a book about Windows 7 from a developer perspective :-) I’m at the PDC right now, and I already had an opportunity to sign a couple of Yochay’s copies—it feels amazing to finally...
A few weeks ago we took a detailed look at the intrinsic details of providing Windows 7 taskbar tab thumbnails and live previews in a Win32 application . As part of that post I mentioned a C++ wrapper called TabWindow which takes care of most of the nasty details and leaves only the work of creating the tab controls and rendering them to the application developer. Here’s the public API of the TabWindow class and its corresponding TabWindowEventsSink callback interface (slightly edited to fit): class...
Windows 7 offers a built-in troubleshooting platform that consolidates the typical user’s support and troubleshooting needs into a single consistent user interface with dozens of specific troubleshooters for common problems. If you haven’t seen the Troubleshooting Platform in action yet, go ahead and type “troubleshooting” into your Windows 7 start menu and open the Troubleshooting control panel applet. You can try some of the troubleshooters now. I’ll wait here. One of the easiest ones to repro...
A few months ago, we’ve taken a look at how you can extend your MDI or TDI application with an individual thumbnail and live preview for each tab (or document) that will be displayed in the Windows 7 taskbar. We’ve seen the temporary managed wrapper that makes this possible, and in the final 1.0 release of the Windows API Code Pack there is a more polished managed API that does the same thing. However, in this post I’d like to focus on the underlying details which you will have to deal with if you...
Windows 7 RTM is out for a few days now for MSDN and TechNet subscribers, and together with the release of the final bits, Microsoft DPE released the final bits of the Windows 7 Training Kit . Our team at Sela worked days and nights to meet the RTM deadline. Specifically, Alon wrote new multi touch and Libraries hands-on labs, Dima (with Ariel ’s help) wrote new labs for the Sensors and Location platform, and I wrote a pair of new labs for taskbar features, one using the final 1.0 release of the...
More Posts
Next page »