Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Vista   (RSS)

Windows Vista Sxs Activation Context Cache

Sxs activation model is built on top of Actication Context. To create an activation context, use the API CreateActCtx. Activation Context is used very frequently in Windows. For example, a simple operation like start notepad, open the common file dialog,
Posted by junfeng | 6 Comments
Filed under: , ,

The Windows Vista Developer Story: Application Compatibility Cookbook

MSDN has a Vista developer story series on how to develop applications for Windows Vista. http://msdn.microsoft.com/windowsvista/downloads/docs/developerstory/default.aspx One of the particularly useful articles is on Application Compatibility http://msdn.microsoft.com/windowsvista/downloads/docs/developerstory/default.aspx?pull=/library/en-us/dnlong/html/AppComp.asp
Posted by junfeng | 0 Comments
Filed under:

Installing SxS assemblies in Vista

When installing SxS assemblies in Vista, you may experience MSI error 1935 , with HRESULT 0x80073715 . 0x80073715 is Win32 error ERROR_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT. // // MessageId: ERROR_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT
Posted by junfeng | 5 Comments
Filed under: ,

Touch the exe, after you added a manifest for it, in Vista

You are an enthusiastic and responsible developer. You love programming, and you love programming the right way. So you get the latest and greatest Windows Vista. You try your hard-worked amazing.exe application in Vista. Did not work. Apparently, amazing.exe
Posted by junfeng | 6 Comments
Filed under: , ,

Application Shutdown Changes in Windows Vista

MSDN documented the Windows Vista changes regarding application shutdown. http://windowssdk.msdn.microsoft.com/en-us/library/ms700677(VS.80).aspx
Posted by junfeng | 0 Comments
Filed under: ,

Programmatically determine if an application requires elevation in Windows Vista

In Windows Vista, by default, application will execute without administrator privilege, even when the user launching the application is part of the administrators group. You can explicitly elevate the application with administrator privilege using the
Posted by junfeng | 2 Comments
Filed under: ,

COM activation change in Windows Vista

In Windows Vista, COM will read HKLM\Software\Classes when the process has a integrity level > MEDIUM , and it will read the merged HKLM\HKCU hive otherwise. For information about integrity level, please read Steve Riley's article Mandatory Integrity
Posted by junfeng | 3 Comments
Filed under: ,

Windows Vista System Internals

I was searching for filter driver doucmentations in microsoft Windows Hardware Developer Central site, and I was surprised to find many interesting information about Windows Vista System Internals. http://www.microsoft.com/whdc/system/vista/default.mspx
Posted by junfeng | 9 Comments
Filed under:

REG FLAGS /?

Reg.exe in Vista has gain a new command line option "flags". You can use it to see some interesting things, for example, whether a registry key is virtualized. C:\>reg flags /? REG FLAGS KeyName [QUERY | SET [DONT_VIRTUALIZE] [DONT_SILENT_FAIL] [RECURSE_FLAG]]
Posted by junfeng | 2 Comments
Filed under:

System Services change in Windows Vista

Every new Windows release introduces new features, which means new APIs. Vista is no different. As Vista is approaching RTM, documentation of new Vista APIs starts to show up on MSDN web site. The following is a short summary of changes in System Services
Posted by junfeng | 1 Comments
Filed under: ,

Condition Variables

The classic thread synchronization objects are Mutex, Semaphore, and Condition Variable. Windows always has Mutex and Semaphore. Now in Windows Vista, you can also use Condition Variable. Using Condition Variables http://msdn.microsoft.com/library/en-us/dllproc/base/using_condition_variables.as
Posted by junfeng | 1 Comments
Filed under: ,

Private Object Namespace

One of the most common Deny Of Service (DOS) attack in Windows is kernel object name squatting . For example, two processes want to access some shared resources. In order to keep the integrality of the shared resources, the two processes will cooperate
Posted by junfeng | 4 Comments
Filed under: ,

Alternate Data Stream

NTFS supports the concept of File Stream . Not many applications support NTFS file stream though. In Vista. dir now can display NTFS file stream (where it calls it " Alternate Data Stream "). E:\demo>ver Microsoft Windows [Version 6.0.5370] E:\demo>dir
Posted by junfeng | 7 Comments
Filed under:
 
Page view tracker