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
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
.NetFramework
Debugging
Fusion
General
Others
Pages
Troubleshooting
Vista
Win32
Archive
Archives
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)
September, 2004
MSDN Blogs
>
Junfeng Zhang's Windows Programming Notes
>
September, 2004
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Junfeng Zhang's Windows Programming Notes
Assembly binding vs Assembly Loading
Posted
over 8 years ago
by
Junfeng Zhang
0
Comments
This is purely terminology we used internally. Assembly Binding is the process of probing. A.k.a, given an assembly name, finding out where the assembly is. Assembly binding is performed by fusion. This also includes applying policy. Managed code is not...
Junfeng Zhang's Windows Programming Notes
When AssemblyResolve handler meets AssemblyResolve handler
Posted
over 8 years ago
by
Junfeng Zhang
0
Comments
When CLR loader cannot find an assembly via the standard probing, CLR loader will give you a chance to provide the assembly, by firing AssemblyResolve event. You can subscribe to this event, and provide the assembly when necessary. Now what if your event...
Junfeng Zhang's Windows Programming Notes
Update of Managed GAC API wrappers and test applications
Posted
over 8 years ago
by
Junfeng Zhang
0
Comments
I added the functionality to enumerate install references of GAC assemblies to the managed GAC API wrappers. Meanwhile I added some comments in UninstallAssembly to explain the behavior David Levine saw. It is really about what is fully specified name...
Junfeng Zhang's Windows Programming Notes
Diagnose Assembly Loading Failures
Posted
over 8 years ago
by
Junfeng Zhang
5
Comments
Majority of the time, you can use fuslogvw.exe to find out why an assembly load failed. There are times when fusion binding log tells you that the assembly is found successfully, but you still get an FileLoadException. One of the common case is that one...
Junfeng Zhang's Windows Programming Notes
Gacutil does not show ngen cache's content in .Net 2.0
Posted
over 8 years ago
by
Junfeng Zhang
0
Comments
Gacutil shows the content of ngen cache in v1.0 and v1.1. In v2.0, this feature is removed from gacutil. The reason is several folds: 1. We want people to use the right tool for the right job. Ngen.exe is the right tool to managed ngen cache. Gacutil...
Junfeng Zhang's Windows Programming Notes
Why do you use GAC APIs?
Posted
over 8 years ago
by
Junfeng Zhang
4
Comments
I can think of three reasons that you need to use GAC APIs, instead of the existing tools. 1. Customized installer: You need to install assemblies to GAC, and you cannot install MSI. Example: The assemblies are created when your application runs. So those...
Junfeng Zhang's Windows Programming Notes
ATI's latest driver's Catalyst Control Center Written in .Net framework
Posted
over 8 years ago
by
Junfeng Zhang
4
Comments
In case you don't know, the contral center from ATI's latest driver offer requires .Net framework 1.1. http://ati.com/support/drivers/winxp/radeonwdm-xp.html?type=xp&prodType=graphic&prod=productsXPdriver&submit.x=12&submit.y=6&submit...
Junfeng Zhang's Windows Programming Notes
Sample for using GAC APIs, Sample of Managed GAC API Wrappers, and a Test Application for Managed GAC API Wrappers
Posted
over 8 years ago
by
Junfeng Zhang
0
Comments
In case you did not notice, there is an "Article" link in the blog's main page I added three articles there. Fusion GAC API Samples Sample Managed GAC API Wrappers Test Application for Managed GAC API Wrappers As usually, those are provided "AS IS" with...
Junfeng Zhang's Windows Programming Notes
Test Application for Managed GAC API Wrappers
Posted
over 8 years ago
by
Junfeng Zhang
4
Comments
//------------------------------------------------------------- // GACTest.cs // // This is a test application for Managed GAC API Wrappers //------------------------------------------------------------- using System; using System.GACManagedAccess; public...
Junfeng Zhang's Windows Programming Notes
Sample Managed GAC API Wrappers
Posted
over 8 years ago
by
Junfeng Zhang
18
Comments
//------------------------------------------------------------- // GACWrap.cs // // This implements managed wrappers to GAC API Interfaces //------------------------------------------------------------- using System; using System.Runtime.InteropServices;...
Junfeng Zhang's Windows Programming Notes
Fusion GAC API Samples
Posted
over 8 years ago
by
Junfeng Zhang
8
Comments
For displaying purpose, error handling is skipped in all the sample code. Please don’t skip error handling in production code. 1.1. Get GAC API Interfaces Before use GAC API interfaces, you have to get GAC API interfaces. GAC API interfaces are pseudo...
Junfeng Zhang's Windows Programming Notes
Assembly Display Name
Posted
over 8 years ago
by
Junfeng Zhang
14
Comments
Every assembly has so-called "Display name". As of today, the display name of an assembly is shown as "name, Version=xx.xx.xx.xx, Culture=xx, PublicKeyToken=xx". It starts with a "name", then a bunch of "key=value" pairs, separated by comma. Thos keys...
Junfeng Zhang's Windows Programming Notes
The new MSDN web site
Posted
over 8 years ago
by
Junfeng Zhang
23
Comments
When I was searching for some MSDN links for Whidbey stuff in http://lab.msdn.microsoft.com/library last night, I was redirected to http://msdn2.microsoft.com/library/default.aspx . I am really impressed by the new site. Now you can use "http://msdn2...
Junfeng Zhang's Windows Programming Notes
GAC Assembly Trace Reference
Posted
over 8 years ago
by
Junfeng Zhang
4
Comments
When you install an assembly to GAC, you have the option to specify an Assembly Trace Reference . And we strongly recommend that you specify a trace reference, for the reason I will discuss below. The idea behind trace reference is really simple. When...
Junfeng Zhang's Windows Programming Notes
mscorlib.dll is in GAC now in .Net framework 2.0
Posted
over 8 years ago
by
Junfeng Zhang
1
Comments
Mscorlib.dll is in GAC now in .Net framework 2.0, contrast to v1.0/v1.1, where mscorlib is in framework's directory. If you rely on mscorlib.dll's path to get framework's directory, you have to change your code to use System.Runtime.IneropServices.RuntimeEnvironment...
Junfeng Zhang's Windows Programming Notes
GAC, Assembly ProcessorArchitecture, and Probing
Posted
over 8 years ago
by
Junfeng Zhang
9
Comments
As I mentioned in a previous post, assemblies in .Net framework 2.0 now have ProcessorArchitecture now. 64 bit .Net framework 2.0 redist will install both 64 bit runtime and 32 bit runtime. But there is only one GAC. And both 64 bit runtime and 32 bit...
Page 1 of 1 (16 items)