Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

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! :-)

On Windows 7, the Invariant Culture is an installed culture...

Last month, I investigated an issue for an ISV where their code would work fine on Windows Vista but fail on Windows 7. Not very commom! The cause? CultureInfo .GetCultures( CultureTypes .AllCultures & ~ CultureTypes .NeutralCultures) returns an array
Posted by yvesdolc | 0 Comments

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

Do you receive WM_PAINT when waiting for a COM call to return?

When a COM call is made that involves a COM Proxy or a call to CoWaitForMultipleHandles () (e.g. in a .NET Runtime Callable Wrapper ), you could see this behavior where you would not have under pre-Vista versions of Windows. We made the design change
Posted by yvesdolc | 0 Comments

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

Is MFC 2008 Feature Pack fighting my will?

I modify some MFC user interface related code, build, run and … nothing changes! “Well, let’s manually delete the Debug directories and all generated files, then rebuild.” I can still see my initial user interface layout! I go back to the code; double
Posted by yvesdolc | 0 Comments
More Posts Next page »
 
Page view tracker