The Curious Engineer

All blogs / C# / .NET

Junfeng Zhang's Musing

learn.microsoft.com/en-us/archive/blogs/junfeng

things about the world, world of things

C# / .NETWindows internalsMicrosoft blogsMSDN archive

’05’10’15’20’25
Posts
339 from 28 Jan 2004 to 7 May 2012
Posting
archived, read-only
Kind
personal blog
Feed
https://learn.microsoft.com/en-us/archive/blogs/junfeng/feed.xml

2012 1

  1. The symbolic link cannot be followed because its type is disabled

2009 4

  1. Getting where the exception is thrown in Windows Error Report for managed application without a dump
  2. Internal Manifest vs External Manifest
  3. CLR HRESULT
  4. Be careful about exception after resource allocation

2008 20

  1. Exception Filter
  2. ThreadPool.BindHandle
  3. ThreadPool.UnsafeQueueNativeOverlapped
  4. Conversion between System.String and char *
  5. XXX is not a valid Win32 application
  6. Managed ThreadPool vs Win32 ThreadPool (pre-Vista)
  7. Managed Watson Dump
  8. Inspect a 32 bit Process Dump Generated by a 64 bit Debugger
  9. Getting a Full Memory Dump for a Process
  10. Event Handles “leak”
  11. Use !htrace to debug handle leak
  12. Consider Creating a new class for locking
  13. A case study of a NullReferenceException
  14. App Config’s root element should be namespace-less
  15. Getting the right exception context from a memory dump
  16. Calculating the size of each GC generation
  17. Figuring out object allocation graph from a managed memory dump
  18. Windows Update Error 0x800A0030
  19. Windows Performance Tools Kit
  20. Reverse P/Invoke and exception

2007 30

  1. From Unhandled Exception to Debugger Attach
  2. Assembly Loading and Authorization
  3. Mismatched PDBs --- Why?
  4. Windows Vista Sxs Activation Context Cache
  5. Configuring IIS to Run 32-bit or 64 bit Applications on 64-bit Windows (IIS 6.0)
  6. MiniDumpAuxiliaryDlls and KnownManagedDebuggingDlls
  7. Loading CLR DAC dll from a different path
  8. The Unusual Ref/Def Mismatch FileLoadException
  9. The sequence of interactions between CLR loader and fusion during Assembly.Load
  10. advantages and disadvantages of delay load (LoadLibrary)
  11. Lock(object) and ThreadAbortException
  12. Don't catch all exceptions
  13. Finding Memory leaks
  14. Questions and Suggestions -- July 20th Edition
  15. 64 bit gacutil.exe
  16. Unknown exception 0xe0434f4e
  17. BadImageFormatException maybe thrown when loading a valid assembly
  18. Reverse P/Invoke Marshaling Performance
  19. Break on exception in Windows Debugger
  20. RT_MANIFEST resource, and ISOLATION_AWARE_ENABLED
  21. Diagnose SideBySide failures in Windows XP/Windows Server 2003
  22. Activation Context Creation flow
  23. Genman32 – A tool to generate Sxs manifest for managed assembly for Registration Free COM/.Net Interop
  24. Connect Kernel Debugger to a Virtual PC/Virtual Server virtual machine
  25. Understand why your computer restarted unexpectedly
  26. Java 2007: The year in preview
  27. Sxstrace for Windows XP and Windows Server 2003
  28. Native Image Loading
  29. How to tell if the current user is in administrators group programmatically
  30. The CLR Add-in team blog

2006 57

  1. Java SE 6 is released
  2. Questions and suggestions
  3. Debugging LoadLibrary Failures
  4. GAC Temp and Tmp
  5. The Windows Vista Developer Story: Application Compatibility Cookbook
  6. Installing SxS assemblies in Vista
  7. IE7 CPU spike and AJAX extensive web sites
  8. Touch the exe, after you added a manifest for it, in Vista
  9. Title change
  10. Application Shutdown Changes in Windows Vista
  11. Programmatically determine if an application requires elevation in Windows Vista
  12. dynamic_cast is slow in x64
  13. Run/RunOnce/RunOnceEx Registry Key
  14. .Net Security Configuration in 64 bit OS
  15. Windows XP may reboot when encounter certain manifest files
  16. MSDN Wiki
  17. COM activation change in Windows Vista
  18. Mark Russinovich started blogging in technet
  19. Windows Vista System Internals
  20. Detours
  21. RegOverridePredefKey
  22. Find out which application handles a certain file extension
  23. Application config file is not used if the application has certain SxS manifest
  24. REG FLAGS /?
  25. System Services change in Windows Vista
  26. System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
  27. Assembly.GlobalAssemblyCache Property
  28. Sample: Mixing Unmanaged C++, C++/CLI, and C# code
  29. Registration Free COM/.Net interop
  30. Condition Variables
  31. Private Object Namespace
  32. Sxs --- Activation Context, Binding, Policy and Probing
  33. Alternate Data Stream
  34. COM activation, Registration Free COM activation, COM/.Net Interop, Registration Free COM/.Net Interop
  35. Questions and suggestions
  36. LoadLibrary returns the module was first loaded
  37. Most Recent Published Knowledge Base Articles for .NET Framework 2.0 RSS Feed
  38. Multi-path on DEVPATH v2.0 QFE is available
  39. Symbolic link in Windows Vista
  40. CLR Inside Out: The Performance Benefit of NGEN
  41. Diagnosing SideBySide failures
  42. IAsyncResult Implementation Compliant
  43. Override CLR Assembly Probing Logic --- IHostAssemblyManager/IHostAssemblyStore
  44. SXS Activation Context --- Activate and Deactivate
  45. Determine the processorArchitecture of the running process from managed code
  46. disableCachingBindingFailures
  47. Generics, NGEN, and Domain Neutral
  48. Assembly Delay Sign and Assembly Installation
  49. Assembly Signing Frequently Asked Questions
  50. Fuslogvw on Windows Vista
  51. URL Case Sensitivity, Again
  52. Debugging mysterious application crash
  53. A few things about uninstall files
  54. Locally Unique ID
  55. DotLocal (.local) Dll Redirection
  56. Error 0x80131702 when installing .Net framework 2.0 Redist
  57. Thread.GetData/Thread.SetData scalability issue and workaround

2005 74

  1. Satellite assembly and AssemblyResolve event
  2. Parent Assembly Hint
  3. Assembly loading failure is expensive
  4. Publisher Policy --- Highest version, which highest?
  5. ReflectionOnlyAssemblyResolve Event
  6. DEVPATH
  7. CLR is uninstalled. Now what?
  8. Running MSIL applications as 32 bit in 64 bit OS
  9. Break when ntdll.dll is mapped
  10. .Net Framework Featured Blogs
  11. Module Initializer (a.k.a Module Constructor)
  12. Don't do Shell Extension Handlers in .NET
  13. Brad Abrams --- API design hall of shame
  14. Assembly loading and AppDomain.AssemblyLoad Event
  15. Assemblies --- Referencing and servicing
  16. Host and Add-ins --- sharing host assemblies
  17. GAC Assemblies: Install and Uninstall
  18. Enumerate the assembly identity attributes of a given assembly
  19. Getting the full display name of an assembly given the path to the manifest file
  20. Thomas Quinn on Addins
  21. ProcessorArchitecture and Assembly.FullName
  22. useLegacyIdentityFormat
  23. Publisher policy, redirection cross major/minor version, and using the latest version
  24. Enumerating CLR versions
  25. How do I know if console handle is redirected?
  26. Domain Neutral Assemblies and AssemblyResolveEvent handler
  27. Assembly.Load() followed by Assembly.LoadFrom()?
  28. Figure out the bitness of a process and the ProcessorArchicture of the system
  29. AssemblyName.ReferenceMatchesDefinition
  30. The Future of Assembly Versioning
  31. Customizing the Microsoft .NET Framework Common Language Runtime
  32. Sharing NGEN image in Multi-Domain Host
  33. Trap Ctrl+C
  34. Friend assemblies change post .Net framework 2.0 beta1
  35. MSI Install-On-Demand
  36. Assemblies in LoadFrom context can’t be domain neutral, and can’t use NGEN
  37. Assembly.LoadFrom
  38. CLR Side by Side and Compatibility
  39. On Plug-ins and Extensible Architectures
  40. Assemblies Side by Side
  41. Publisher Policy revisit
  42. GAC Internals Are Implementation Detail
  43. Per-User GAC
  44. Using GAC
  45. How do I mix C# and C++ code in a single assembly?
  46. How to find out where Assembly.Load(String) would load an assembly from without actually doing it?
  47. Dynamic nature of CLR assemblies loading
  48. Disclaimer
  49. DELETE PEND == ERROR_ACCESS_DENIED
  50. SQLCLR team starts blogging
  51. ReflectionOnlyAssemblyLoad and binding policy
  52. Ars Technica's Mac OS 10.4 Tiger Review
  53. Questions and suggestions
  54. Test your platform specific assemblies
  55. Strong name EXEs
  56. Questions and Topics Suggestions
  57. Isolated Applications and Side-by-side Assemblies
  58. Assembly Identity --- ReferenceIdentity and DefinitionIdentity, Comparison and Transformation
  59. foofoo.dll
  60. New blogs.msdn.com, new theme, and new comment limit day
  61. Best feature in Outlook 2003 --- Search Folders
  62. URL Case Sensitivity and Assembly Loading
  63. Why LoadLibrary is much slower than GetModuleHandle for dll that is already loaded?
  64. URL and Assembly Loading
  65. Http Compression and Assembly loading
  66. IUnkown::Release() implementation
  67. Download Cache
  68. AppDomain.AppendPrivatePath is obsolete
  69. App.config reloading
  70. NGEN, now and then
  71. Netmodule vs. Assembly
  72. linkedConfiguration --- a.k.a include in config file
  73. Duplicate entries in config files
  74. Assembly ProcessorArchitecture and Binding Policy

2004 153

  1. Microsoft at Year's End
  2. Fusion Workshop
  3. Herb Sutter discusses C++/CLI's deterministic destruction
  4. misconcept about domain neutral assemblies
  5. IBM sells PC group to Lenovo
  6. Setting Host Policy in appdomain
  7. CLR in Channel 9
  8. Creating a publisher policy
  9. Less is more
  10. System.EnterpriseSe#?
  11. Codebase hint in config files
  12. Mscorlib.ni.dll
  13. You don't want to initialize global variables
  14. Single Servicing
  15. Programming Legends Debate .Net, J2EE
  16. Assembly.LoadFrom/LoadFile/Load(byte[]) prefers GAC
  17. Windows XP Look & Feel with manifest
  18. Error 500--Internal Server Error ---- From https://www.theserverside.net
  19. Manish on Remoting
  20. .Net 1.0/1.1 applications on Win64
  21. .Net framework SP and Publisher Policy
  22. JavaRss.com
  23. Should we put apphack in .Net 2.0?
  24. Diagnose "Access Denied" error on Assembly Loading
  25. Aspnet.Config
  26. Contact me in email
  27. techpreview.search.msn.com
  28. Via said, Our chips can do 64 bit computing
  29. Obsfucation
  30. October 1, China's National Day
  31. Microsoft Community Blogs
  32. Platform SDK for Windows XP Service Pack 2 is released
  33. J2SE 5.0 released
  34. Assembly binding vs Assembly Loading
  35. When AssemblyResolve handler meets AssemblyResolve handler
  36. Update of Managed GAC API wrappers and test applications
  37. Diagnose Assembly Loading Failures
  38. Gacutil does not show ngen cache's content in .Net 2.0
  39. Why do you use GAC APIs?
  40. ATI's latest driver's Catalyst Control Center Written in .Net framework
  41. Sample for using GAC APIs, Sample of Managed GAC API Wrappers, and a Test Application for Managed GAC API Wrappers
  42. Test Application for Managed GAC API Wrappers
  43. Sample Managed GAC API Wrappers
  44. Fusion GAC API Samples
  45. Assembly Display Name
  46. The new MSDN web site
  47. GAC Assembly Trace Reference
  48. mscorlib.dll is in GAC now in .Net framework 2.0
  49. GAC, Assembly ProcessorArchitecture, and Probing
  50. Deploying assemblies using cab files
  51. Reflection Only Assembly Loading
  52. Assembly binding Closure discovery tool
  53. Assemblies in GAC and their dependencies
  54. Funny Techie Stories
  55. Assembly ProcessorArchitecture
  56. AMD64? X86-64? EM64T? X64? Anymore?
  57. CLR Managed Debugger (mdbg) Sample
  58. 100 posts
  59. Domain Neutral Assemblies
  60. 3D UI on Windows
  61. How Microsoft Uses Reflection
  62. AppDomainSetup.DisallowApplicationBaseProbing
  63. What's New in the .NET Framework 2.0 Beta
  64. Friend Assemblies
  65. What is new in remoting in .Net 2.0?
  66. KB Article 312546: Managed .exe File Sporadically Fails to Run over HTTPS
  67. Whidbey breaking change --- Caching binding failures
  68. Assembly.Load* now apply policy
  69. AppDomain.ApplyPolicy
  70. MultiModule Assemblies
  71. Can .NET framework 2.0 assemblies run under .Net framework 1.1?
  72. Dynamic PInvoke
  73. How to enable CLR Server GC?
  74. echo '>' and '<'
  75. Accessing Resources Using LoadFrom Locks Assembly
  76. Error 1709 when install .Net framework 1.1
  77. Assembly loading failure when shadowcopy is enabled on multiple appdomains
  78. Premature optimization is the root of all evil
  79. Relative Path
  80. Image File Execution Options
  81. AssemblyResolve Event
  82. Deployment in windows
  83. Slow appdomain shutdown
  84. So which CLR will my app use?
  85. Java class data sharing
  86. mscorlib.resources couldn't be found! Large parts of the BCL won't work!
  87. Fusion binding log and IE cache
  88. eWeeks announces Fourth Annual Excellence Award
  89. RegDeleteKeyEx
  90. Fusion Global Assembly Cache API
  91. KEY_WOW64_64KEY and KEY_WOW64_32KEY
  92. Publisher Policy
  93. Jim Hugunin: IronPython: A fast Python implementation for .NET and Mono
  94. Alan's rebuttal to Chris Sells' "Avoid the GAC"
  95. ngen app.exe asm1 asm2
  96. JIT Compilation and Performance - To NGen or Not to NGen?
  97. The located assembly's manifest definition with name xxx.dll does not match the assembly reference
  98. Dating Design Patterns
  99. VS won't reference assemblies in GAC
  100. UCOMIStream interface
  101. OpenThreadToken
  102. MSDN newsgroups
  103. Get HResult out of System.Exception class
  104. Platform Invoke Resources
  105. When an Assembly.Load is not really Assembly.Load
  106. RuntimeEnvironment class
  107. Killing each other
  108. Assemblies, load context
  109. hh ntcmds.chm
  110. How to tell if a DLL is 64 bit or 32 bit
  111. Assembly listing Tool
  112. Console unicode output
  113. jusched.exe
  114. Moving from Win32 to .Net
  115. Performance: One big assembly vs several small assemblies.
  116. Chris Brumme discusses Finalization
  117. Cost of calling unmanaged code from managed C++
  118. Alan discussed Unification Policy
  119. new MSN Explorer
  120. How "safe" (from a best practice and supportability perspective) is the use of DLL injection techniques?
  121. Why recursive directory copy does not exist, and why it should not.
  122. Microsoft Virtual Server 2004 begins beta test
  123. Fun stuff with \?
  124. How is lock keyword of C# implemented?
  125. File Not Found vs Network Path not found
  126. Windows XP and ClearType
  127. Fusion binding log and fuslogvw.exe
  128. FileVersion and GAC
  129. foo.exe and foo.dll
  130. AppDomainSetup explained
  131. Return to fusion land
  132. AppDomain and Shadow Copy
  133. WritePrivateProfileString and AnitVirus
  134. vim and Windows Server 2003
  135. How to make an application as both GUI and Console application?
  136. How to tell if an assembly is delay signed or not.
  137. New categories
  138. Longest Java Class Name
  139. How to tell if some file is managed assembly or not?
  140. GetPrivateProfileString/WritePrivateProfileString
  141. How to detect .Net Framework installed in a web client?
  142. How to detect .Net framework installed or not.
  143. Very long assembly name
  144. User friendly file name
  145. Where is .Net framework installed?
  146. How to get thread id for a managed thread?
  147. How to create circularly referenced assemblies
  148. Microsoft.Net Framework 1.1 setup has ended prematurely
  149. Name of your-app.exe
  150. Binding Context and LoadFrom
  151. Binding Policy
  152. Partial name binding
  153. Hello, World