Welcome to MSDN Blogs Sign in | Join | Help

April 2006 - Posts

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: ,

Sxs --- Activation Context, Binding, Policy and Probing

Sxs’ runtime behavior is built on top of the concept of Activation Context. (For more details on Activation Context, please visit MSDN . I have published an article on it early.) You can use API CreateActCtx to create an activation context. CreateActCtx
Posted by junfeng | 5 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:

COM activation, Registration Free COM activation, COM/.Net Interop, Registration Free COM/.Net Interop

COM is easily one of the most commonly used technologies in Microsoft Windows Platform. Many of Microsoft Windows’ capabilities are only exposed in COM. I do not claim to be a COM expert. But my work in Microsoft in the past and now do affect how people
Posted by junfeng | 9 Comments
Filed under: , ,

Questions and suggestions

I set the comment limit to 90 days. As a result, the original post for questions and suggestions has expired. This one is just to re-enable that. Please post any questions or suggestions in this blog. Questions and suggestions should related to Fusion
Posted by junfeng | 12 Comments
Filed under:

LoadLibrary returns the module was first loaded

If there are multiple foo.dll loaded (from different paths), LoadLibrary(“foo.dll”) will return the first foo.dll was loaded. This is documented in MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/loadlibrary.asp “If
Posted by junfeng | 1 Comments
Filed under:

Most Recent Published Knowledge Base Articles for .NET Framework 2.0 RSS Feed

You can subscribe to the following Rss feed for the Most Recent Published Knowledge Base Articles for .NET Framework 2.0. http://support.microsoft.com/common/rss.aspx?rssid=8291&ln=en-us&msid=f3d8b89477ef884086e4bf71577f69dd For other Microsoft
Posted by junfeng | 3 Comments
Filed under:

Multi-path on DEVPATH v2.0 QFE is available

See http://support.microsoft.com/default.aspx?scid=kb;en-us;915430&sd=rss&spid=8291 for more detail. The other problem reported by Isaac http://blogs.msdn.com/junfeng/archive/2005/12/13/503059.aspx#546000 [b] If you add the section <runtime>
Posted by junfeng | 0 Comments
Filed under: ,

Symbolic link in Windows Vista

You can create symbolic link in Windows Vista now. C:\test>ver Microsoft Windows [Version 6.0.5365] C:\test>mklink Creates a symbolic link. MKLINK [[/D] | [/H] | [/J]] Link Target /D Creates a directory symbolic link. Default is a file symbolic
Posted by junfeng | 24 Comments
Filed under:

CLR Inside Out: The Performance Benefit of NGEN

Surupa Biswas publishes an article on NGEN in MSDN Magazine. It discusses many aspects on how to make the best use of NGEN. Check it out. http://msdn.microsoft.com/msdnmag/issues/06/05/CLRInsideOut/ (Surupa is the Program Manager for CLR NGEN team.)
Posted by junfeng | 0 Comments
Filed under:

Diagnosing SideBySide failures

PhilW believes that SxS COM with manifest is one of those “well kept secrets” that should be more well known. As the current maintainer of Windows SxS, I am absolutely thrilled to hear that. That said, I have to admit that it is not the easiest thing
Posted by junfeng | 14 Comments
Filed under: ,
 
Page view tracker