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
Friend Assemblies
Posted
over 9 years ago
by
Junfeng Zhang
9
Comments
You have some types in your assembly A. And you have some assembly B. You really want assembly B to see those types. But you don't want them to open to the world. What do you do? In v1.0 and v1.1, you will mark those types as public, and then decorate...
Junfeng Zhang's Windows Programming Notes
What is new in remoting in .Net 2.0?
Posted
over 9 years ago
by
Junfeng Zhang
0
Comments
Matt Tavis told us what is new in remoting in .Net 2.0 in a newgroup post. http://communities.microsoft.com/newsgroups/previewFrame.asp?ICP=whidbey&sLCID=US&sgroupURL=microsoft.private.whidbey.remoting&sMessageID=%253CWQFwN41bEHA.2924@cpmsftngxa06...
Junfeng Zhang's Windows Programming Notes
KB Article 312546: Managed .exe File Sporadically Fails to Run over HTTPS
Posted
over 9 years ago
by
Junfeng Zhang
0
Comments
KB 312546 says running managed executable through HTTPS may not work. http://support.microsoft.com/default.aspx?scid=kb;EN-US;312546 This is causing some confusion. Exactly when things will not work? Our core developer explains it below: The...
Junfeng Zhang's Windows Programming Notes
Whidbey breaking change --- Caching binding failures
Posted
over 9 years ago
by
Junfeng Zhang
8
Comments
This is one of the breaking change mentioned in gotdotnet.com's break change from .Net 1.1 to 2.0 Cache load failures in order to ensure that different app domains do not have different dependency loading success/failure characteristics in domain neutral...
Junfeng Zhang's Windows Programming Notes
Assembly.Load* now apply policy
Posted
over 9 years ago
by
Junfeng Zhang
3
Comments
Gotdotnet.com has a link to the breaking change from .Net framework 1.1 to .Net framework 2.0. It does not include everything. This one is missing from the link. In .Net framework 1.1, there are Assembly.Load(String), Assembly.Load(AssemblyName...
Junfeng Zhang's Windows Programming Notes
AppDomain.ApplyPolicy
Posted
over 9 years ago
by
Junfeng Zhang
4
Comments
If you have dealt with assembly loading, chances are you have asked this question: How do I know which assembly CLR will really load if I ask it to load some assembly? In .Net framework 1.0 and 1.1, there is really no good way other than load...
Junfeng Zhang's Windows Programming Notes
MultiModule Assemblies
Posted
over 9 years ago
by
Junfeng Zhang
9
Comments
If you are programming with .Net framework, you will deal with Assemblies all the time. After all, assemblies are the building blocks of .Net framework. Assemblies can have single file , or can have multiple files . We typically refer an assembly...
Junfeng Zhang's Windows Programming Notes
Can .NET framework 2.0 assemblies run under .Net framework 1.1?
Posted
over 9 years ago
by
Junfeng Zhang
9
Comments
Short answer: NO. Long answer: In .Net framework 2.0 many features are added. Many features(Generics first comes to mind) warrant a medata format change. As a result, .Net framework 1.0 and 1.1 will not recognize assemblies compiled with .Net framework...
Junfeng Zhang's Windows Programming Notes
Dynamic PInvoke
Posted
over 9 years ago
by
Junfeng Zhang
8
Comments
CLR provides platform invoke mechanism to enable managed applications to call unmanaged APIs exported in a DLL. Here is a simple example: using System.Runtime.InteropServices; public class HelloWorld { public static void Main() { MessageBox(0, "Hello...
Junfeng Zhang's Windows Programming Notes
How to enable CLR Server GC?
Posted
over 9 years ago
by
Junfeng Zhang
9
Comments
This is one of the mostly asked questions about CLR GC. CLR's GC has two modes: Server GC and WorkStation GC. The difference is discussed briefly in Gregor Noriski's MSDN article about writing high performance managed application( http://msdn.microsoft...
Page 1 of 1 (10 items)