Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Software Development   (RSS)

My blog home...

It's now on http://concrt.spaces.live.com . concrt was available so as that's what's on my mind nowadays, I decided to pick that. This won't be just about ConcRT! :-)

How to add the application compatibility section with Visual C++ 2008?

If you wonder what I’m talking about when mentioning the compatibility section, have a look at my previous blog entry . To start with, I added a Compatibility.manifest file to my project: <? xml version = " 1.0 " encoding = " utf-8 " standalone = "
Posted by yvesdolc | 0 Comments

The new compatibility section in the Application Manifest

This is still the same Application Manifest that you store in your Win32 Resource or put next to your executable (i.e. "MyExecutable.exe.manifest" ). Under Windows XP, this manifest allowed you to create Isolated Applications and Side-by-side Assemblies
Posted by yvesdolc | 0 Comments

Consider not using the Frame Pointer Optimization when building your software

Stack tracing is a very useful functionality for tracking both the causes of performance problems and reliability issues. With F rame P ointer O ptimization disabled , one can easily build the call chain by walking through the stack frame pointers. Because
Posted by yvesdolc | 0 Comments

UI0Detect, WlS0WndH and a lie...

http://blogs.msdn.com/yvesdolc/archive/2009/09/11/ui0detect-wls0wndh-and-a-lie.aspx In my prior to last entry , I took a shortcut: your Windows Service user interface can be seen on Windows Vista and still on Windows 7. But beware, it’s not by default,
Posted by yvesdolc | 0 Comments

If you develop/test on Windows 7, you might want to turn off the Fault Tolerant Heap…

It might interfere with your testing and after your software has crashed a couple of times, your application might start to no longer behave erratically. As JohnFrum wrote: “ I learned about this feature a few weeks ago while debugging my service. It
Posted by yvesdolc | 0 Comments

Do you still use the MessageBox API in your Windows Service?

Or do you display any type of User Interface? Starting with Windows Vista and above, user interfaces generated by Windows services can’t be seen. And even worst, your service could be stuck waiting for some user input that the user cannot give as she
Posted by yvesdolc | 0 Comments
Attachment(s): SimpleService.zip

Developing native applications for Windows 7 in C++

A gentleman from Germany asked on one of our forums: “I am interested in developing native Windows 7 Apps (64 and 32-Bit) with Visual C/C++. How can I do this?” You’ll first need a C++ compiler. You can find that on the MSDN Visual C++ page. Then the
Posted by yvesdolc | 0 Comments

No TOUCH utility on Windows to help refreshhing the Fusion Cache? MS-DOS copy command syntax...

After reading the November '06 " Manifest and the fusion cache " blog entry that one my peers wrote, I immediately thought about the *nix style TOUCH utility. But it's not available out-of-the-box on Windows... I was surprised to learn that the Updating
Posted by yvesdolc | 0 Comments

Windows 7 redirection (a.k.a. virtualization) application I use to demonstrate the effect:

C:> cl /W4 /EHsc Redirection.cpp Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved. Redirection.cpp Microsoft (R) Incremental Linker Version 9.00.30729.01 Copyright
Posted by yvesdolc | 0 Comments

Windows 7 Libraries and the Common File Dialog…

As you can read in the application cookbook: When using IFileDialog, you must use GetResult method instead of combination of GetFolder and GetFilename. Use the Shell APIs where possible to interact with and manipulate items in the Shell Namespace (for
Posted by yvesdolc | 0 Comments

Getting a list of all the subscribers to an event with WinDbg and SOS

I was wondering and Lee Culver from the CLR Quick Response Team was kind enough to give me an answer. The output below is for CLR V4 so the format might be a bit different than V2. " The debugging session below was identical in v2 except for SOS formatting
Posted by yvesdolc | 0 Comments

The OEM Ready Program and RMTool.exe

On the The OEM Ready Program page, OEM’s can download the OEM Ready Program Test Cases for Windows Vista . The 7 th test is to verify that the application is Restart Manager Aware. To test this, you must use RMTool.exe but where do you get it from? Mentioned
Posted by yvesdolc | 0 Comments

Windows Resource Protection API call and PowerShell 2.0

A month ago, I was lucky enough to give a presentation on Isolated Applications and Side-by-side Assemblies to an ISV . Later, Maarten asked me if the side-by-side cache was protected by Windows Resource Protection . I checked and answered (“Yes”) but
Posted by yvesdolc | 0 Comments

Native Manifests: let's do COM and forget the Registry...

You might have heard about it, might have seen those filenames ending with the .manifest extension, heard about the side-by-side directory ($env:windir\WinSxS), seen those project properties in Visual C++ but have you ever done anything explicit with
Posted by yvesdolc | 1 Comments
Attachment(s): Manifests (VC++2008).zip
More Posts Next page »
 
Page view tracker