Debugging LoadLibrary Failures

LoadLibrary is one of the mostly used yet unbelieveably complex APIs in Windows, if not the one. Russ Osterlund has a full MSDN article discussing LoadLibrary, yet he only touches the surface of the problem (how it works under normal condition.) Mike Grier is one of the most talented developers I have worked with in Microsoft….

1

GAC Temp and Tmp

I see people asking question about the Temp and Tmp directories under GAC. Yes they are temporary directory fusion uses during GAC Assembly installation and uninstallation. Tmp is used for installation, and Temp is used for uninstallation. The use of them is described in my article GAC Assemblies: Install and Uninstall. The reason that fusion…

5

The Windows Vista Developer Story: Application Compatibility Cookbook

MSDN has a Vista developer story series on how to develop applications for Windows Vista. http://msdn.microsoft.com/windowsvista/downloads/docs/developerstory/default.aspx One of the particularly useful articles is on Application Compatibility http://msdn.microsoft.com/windowsvista/downloads/docs/developerstory/default.aspx?pull=/library/en-us/dnlong/html/AppComp.asp (also at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnlong/html/AppComp.asp) It details many of the changes in Vista and how to change your application to comply with the Vista paradigm. Definitely worth a read.

1

Installing SxS assemblies in Vista

When installing SxS assemblies in Vista, you may experience MSI error 1935, with HRESULT 0x80073715. 0x80073715 is Win32 error ERROR_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT. //// MessageId: ERROR_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT//// MessageText://// The identities of the manifests are identical but their contents are different.// #define ERROR_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT 14101L   This error means, you have tried to install two assemblies with the same identity but…

5