Interop followup : handling C2065 errors building C++ Exe

Hi! A customer emailed me with the feedback that my sample code with C++ Exe calling C# Dll does not build with VS 2003. I investigated; the reason is that in VS 2003 the tlb exposes the namespace in lowercase as csdll instead of CSDll. The fix for this is to update the C++ code…


Debugger Chat Thursday Dec 15

Hi! The Debugger team is having a Chat this Thursday (Dec 15) from 1:00 to 2:00 Pacific Time. If you have any problems with the debugger, this would be a great opportunity to ask questions and get live responses. The Chat homepage is Regards, D.V.  


Visual Studio 2003 stops downloading symbols from the Microsoft public symbol server

Hi! Recently, downloading symbols for microsoft shipped binaries using the Microsoft symbol server ( broke for Visual Studio 2003 users. Microsoft has disabled downloading symbols using older versions of symsrv.dll for compatibility reasons. To resolve this, you need to update the symsrv.dll on your machine with a newer version. Symsrv.dll is a component that is updated periodically,…


Source checksums and breakpoints

In VS 2003 & earlier breakpoints were bound based only on file name, so if the project system found another file with the same name we would bind the bp there. This was a source of a lot of annoyances since files like Class1.cs are everywhere, so in VS 2005 we have added support for…


How to call C++ code from Managed, and vice versa (Interop)

Interop – calling native (C++) code from managed (C#, VB, J#, MC++) and vice versa – can be very useful if you are trying to extend your libraries without porting existing code. However, it can often be confusing for a newbie to figure out how to set this up. There are several ways in which…


How to write a custom visualizer

Many people have used and liked the new visualizers in Whidbey. They really are a powerful data viewing tool, especially with the functionality of supporting custom visualizers. While the help documentation for writing your own visualizers is getting finalized, I thought I would provide a quick how-to for this. To create a custom visualizer in…


The Last of the Ferrari Guys…

Daniel Spalding, our Dev Lead in the VC++ linker team, retired last friday after 18 yrs at Microsoft. In a sense it is an end of an era since he has been around, like, forever, and it is difficult to visualize a linker team w/o him. Dan was one of the devs who implemented the…


App Week followup

Scott & I finished our “Inline Version Control” add-in for the app week, and I think for a week’s work we did a fairly good job. I was rather surprised and impressed with the apps other teams came up with, and we are going to know the best app in a while (the managers pick this)….


App Week

One bloggable event happening right now is that we in the C# PU are once again planning an App Week. For those who are not aware, an app week is where we get together, form teams, and develop customer scenario applications with our product to find bugs and more particularly integration issues that we typically…



One of my goals for this year has been to post regular blogs. The problem I keep running into is thinking up topics to post that are not an insult to your intelligence – e.g. describing stuff that is already mentioned in MSDN, and that, if you have taken the trouble to browse to, you probably…