If you work with COM, apartments is one of the concepts you must comprehend, because it’s an important topic. Before explaining what apartments are let’s think about classes and objects regardless of COM. When you build a class, you know (or you should) whether objects of that class will be used from a single thread,…
Month: June 2010
I Just Want to Delete the Cache
I recently read an excerpt from Joel Spolsky’s book User Interface Design For Programmers available on his (former) blog. This is a great book about designing user interfaces, with examples of bad and good ideas. I’m getting the printed version and I recommend this to all building UIs. Now, yesterday I had a problem with…
Office 2010 and How the Story Ends
A week ago I was reporting about the problems I had experienced with Office 2010. That was not the end of the story, and it’s probably fair enough to tell how it ends. After installing Office 2010 64 bit and then 32 bit and both crashing every other 5 minutes, I returned to Office 2007….
VSBuildStatusAddin with Auto Show and Auto Hide
A new version (1.3) of VSBuildStatus add-in for Visual Studio 2005, 2008 and 2010 is available. It allows you to configure the add-in window to automatically show up when a build/clean/deploy process starts, and/or automatically close when the operation ends. To enable the automatic show of the add-in window when a build/clean/deploy operation starts, check…
COM and Registry
If you are working with COM there are several registry entries that are important and that you need to understand. I will try in this post to clarify them. But before that, let’s enumerate the three possible COM server scenarios. (As a side note, a COM server is a DLL or EXE can contains one…