Sign in
Junfeng Zhang's Windows Programming Notes
Win32, Fusion, CLR, .Net Framework, and others
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
RSS for posts
Atom
RSS for comments
OK
Search
Tags
.NetFramework
Debugging
Fusion
General
Others
Pages
Troubleshooting
Vista
Win32
Archive
Archives
May 2012
(1)
July 2009
(1)
May 2009
(1)
March 2009
(1)
February 2009
(1)
December 2008
(2)
November 2008
(1)
August 2008
(2)
July 2008
(2)
June 2008
(2)
April 2008
(4)
March 2008
(2)
February 2008
(4)
January 2008
(1)
November 2007
(3)
October 2007
(1)
September 2007
(1)
August 2007
(5)
July 2007
(9)
June 2007
(3)
April 2007
(2)
March 2007
(3)
February 2007
(1)
January 2007
(2)
December 2006
(2)
November 2006
(4)
October 2006
(6)
September 2006
(5)
August 2006
(8)
July 2006
(2)
May 2006
(2)
April 2006
(12)
March 2006
(9)
February 2006
(5)
January 2006
(2)
December 2005
(10)
November 2005
(7)
October 2005
(2)
September 2005
(3)
August 2005
(1)
July 2005
(6)
June 2005
(8)
May 2005
(17)
April 2005
(9)
March 2005
(6)
February 2005
(9)
December 2004
(7)
November 2004
(12)
October 2004
(16)
September 2004
(16)
August 2004
(15)
July 2004
(10)
May 2004
(6)
April 2004
(14)
March 2004
(19)
February 2004
(39)
January 2004
(6)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Junfeng Zhang's Windows Programming Notes
Brad Abrams --- API design hall of shame
Posted
over 8 years ago
by
Junfeng Zhang
6
Comments
Brad thinks the API AppDomainSetup.ShadowCopyFiles is API design hall of shame. http://blogs.msdn.com/brada/archive/2005/11/17/494282.aspx I don't think Brad is fair here. At best, it is just a not-so-well-designed API. An API to be hall of shame...
Junfeng Zhang's Windows Programming Notes
Assembly loading and AppDomain.AssemblyLoad Event
Posted
over 8 years ago
by
Junfeng Zhang
7
Comments
Assembly loading (Assembly.Load) is the process of loading an assembly reference. It starts with an assembly reference, and ends with a System.Reflection.Assembly instance that can be JITted and executed. Disclaimer: The following content...
Junfeng Zhang's Windows Programming Notes
Assemblies --- Referencing and servicing
Posted
over 8 years ago
by
Junfeng Zhang
4
Comments
The SDK version and the released version don’t need to have the same assembly version number....
Junfeng Zhang's Windows Programming Notes
Host and Add-ins --- sharing host assemblies
Posted
over 8 years ago
by
Junfeng Zhang
5
Comments
Host and plugins --- how the plugins locate the shared assemblies....
Junfeng Zhang's Windows Programming Notes
GAC Assemblies: Install and Uninstall
Posted
over 8 years ago
by
Junfeng Zhang
1
Comments
We have got many questions on GAC assemblies on install and uninstall. This article attempts to discuss how GAC assemblies install and uninstall are implemented, and the common mistakes/errors people seen in those area. (Disclaimer: Information...
Junfeng Zhang's Windows Programming Notes
Enumerate the assembly identity attributes of a given assembly
Posted
over 8 years ago
by
Junfeng Zhang
1
Comments
In the previous post I showed an example on how to use fusion APIs to get the full display name of a given assembly. This time I am going to show a similar example. Instead of showing the full display name, we will show the display name broken up into...
Junfeng Zhang's Windows Programming Notes
Getting the full display name of an assembly given the path to the manifest file
Posted
over 8 years ago
by
Junfeng Zhang
3
Comments
Given a path to an assembly manifest file, how do we get its full display name, including ProcessorArchitecture? From my previous discussion , we know there is no managed way to achieve this. We have to use an unmanaged solution. From the discussion...
Junfeng Zhang's Windows Programming Notes
Thomas Quinn on Addins
Posted
over 8 years ago
by
Junfeng Zhang
1
Comments
Thomas Quinn quietly started his blog on Addins. http://blogs.msdn.com/tq/default.aspx Thomas works as an Architect in VSTO (Visual Studio Tools For Office). He worked on the Addin model for Office for long. Now he is also looking to solve the managed...
Junfeng Zhang's Windows Programming Notes
ProcessorArchitecture and Assembly.FullName
Posted
over 8 years ago
by
Junfeng Zhang
0
Comments
If you haven’t noticed, assemblies in .Net framework 2.0 have a new name attribute ProcessorArchitecture . The attribute is exposed in AssemblyName class as a property ProcessorArchitecture . If you pay a little more attention, you will notice...
Junfeng Zhang's Windows Programming Notes
useLegacyIdentityFormat
Posted
over 8 years ago
by
Junfeng Zhang
0
Comments
In my previous blog Assembly Display Name , I talked about some change we made in .Net framework 2.0 around assembly name paring and display name. All the changes are for goodness. But it turns out many applications have unintentionally depended on...
Junfeng Zhang's Windows Programming Notes
Publisher policy, redirection cross major/minor version, and using the latest version
Posted
over 8 years ago
by
Junfeng Zhang
12
Comments
We all know there are three types of binding policies: App config, publisher policy, and admin config. I’ll ignore admin config for this discussion. App config affects one application on multiple assemblies. Publisher policy affects one assembly for...
Junfeng Zhang's Windows Programming Notes
Enumerating CLR versions
Posted
over 8 years ago
by
Junfeng Zhang
10
Comments
The following is a sample from the developer who owns mscoree.dll. The sample prints out all the CLR versions installed in the machine. The code will be shipped in .Net framework SDK as a sample. // This is the function pointer definition for the...
Junfeng Zhang's Windows Programming Notes
How do I know if console handle is redirected?
Posted
over 8 years ago
by
Junfeng Zhang
4
Comments
How do I know if console handle is redirected?...
Junfeng Zhang's Windows Programming Notes
Domain Neutral Assemblies and AssemblyResolveEvent handler
Posted
over 8 years ago
by
Junfeng Zhang
3
Comments
Domain Neutral Assemblies and AssemblyResolveEvent handler...
Junfeng Zhang's Windows Programming Notes
Assembly.Load() followed by Assembly.LoadFrom()?
Posted
over 8 years ago
by
Junfeng Zhang
11
Comments
Assembly.Load() takes an assembly display name as input, while Assembly.LoadFrom() takes a file path as input. Typically the application will only call one of them, but not one after the other. I have seen a few cases where people want to...
Junfeng Zhang's Windows Programming Notes
Figure out the bitness of a process and the ProcessorArchicture of the system
Posted
over 8 years ago
by
Junfeng Zhang
7
Comments
Figure out the bitness of a process and the ProcessorArchicture of the system...
Junfeng Zhang's Windows Programming Notes
AssemblyName.ReferenceMatchesDefinition
Posted
over 8 years ago
by
Junfeng Zhang
2
Comments
AssemblyName.ReferenceMatchesDefinition...
Junfeng Zhang's Windows Programming Notes
The Future of Assembly Versioning
Posted
over 8 years ago
by
Junfeng Zhang
0
Comments
The Future of Assembly Versioning...
Junfeng Zhang's Windows Programming Notes
Customizing the Microsoft .NET Framework Common Language Runtime
Posted
over 8 years ago
by
Junfeng Zhang
0
Comments
If you want to know how to customize every bit of CLR, you should read Steven Pratschner's book Customizing the Microsoft .NET Framework Common Language Runtime http://www.amazon.com/exec/obidos/tg/detail/-/0735619883/qid%3D1119055133/sr%3D11-1...
Junfeng Zhang's Windows Programming Notes
Sharing NGEN image in Multi-Domain Host
Posted
over 8 years ago
by
Junfeng Zhang
2
Comments
To reuse the same NGEN image of an assembly for every domain in a multi-domain environment, the assembly has to be loaded as domain neutral. To enable domain neutral assemblies, the host must enable domain sharing when it starts CLR. This is all...
Junfeng Zhang's Windows Programming Notes
ClickOnce Team starts blogging
Posted
over 8 years ago
by
Junfeng Zhang
4
Comments
Saurabh from ClickOnce test team quietly started his blogging today. http://blogs.msdn.com/saurabh/default.aspx Saurabh has been in the ClickOnce team since its incarnation. He and his buddies in ClickOnce test team have been answering questions...
Junfeng Zhang's Windows Programming Notes
Trap Ctrl+C
Posted
over 8 years ago
by
Junfeng Zhang
2
Comments
In Windows, you use SetConsoleCtrlHandler to trap Ctrl+C.
Junfeng Zhang's Windows Programming Notes
Friend assemblies change post .Net framework 2.0 beta1
Posted
over 8 years ago
by
Junfeng Zhang
10
Comments
friend assemblies change...
Junfeng Zhang's Windows Programming Notes
MSI Install-On-Demand
Posted
over 8 years ago
by
Junfeng Zhang
14
Comments
MSI Install On Demand...
Junfeng Zhang's Windows Programming Notes
Assemblies in LoadFrom context can’t be domain neutral, and can’t use NGEN
Posted
over 8 years ago
by
Junfeng Zhang
0
Comments
Assemblies in LoadFrom context can’t be domain neutral. Also they can’t use NGEN. What is so special about assemblies in LoadFrom context that they can’t be the same as assemblies in the default load context? For one thing, assemblies in LoadFrom...
Page 6 of 14 (350 items)
«
4
5
6
7
8
»