C++ and .NET Framework Multitargeting

I’m not going to write a long note explaining once again that I’ve been too busy to post. We all know it’s not true and who wants to sound like a hypocrite right? In any case, my colleague Luke recently posted an entry about a feature we both worked on and I wanted to share…

1

Interop 101 – Part 5

As overdue as this post is, let’s just jump in. In my first 4 installments, I focused on the different ways you could access native functionality from managed code. In this post, I will flip the actors around and investigate how to expose managed functionality to native clients. The first thing to note is that…

11

Blogging Redux

It seems as though my blogging comes in phases, with short periods of writing often interspersed with (very) long periods of silence Heck, in this specific instance, I even let my interop series go unfinished. In my next post on the topic, I plan to talk about exposing managed APIs to purely native clients (granted,…

1

Interop 101 – Part 4

I apologize for the long delay for this section (although I suppose my average posting frequency is already pretty low), but I was on a much needed vacation. I finished the last chapter with a brief mention of what I would talk about now, which is the native support for interop that C++ provides. In…

9

Interop 101 – Part 3

In the last part of this little series, we looked into how C# (and .NET languages in general) can call into native code as directly as possible through P/Invoke. While this is a viable technique in many cases, it doesn’t scale to complex interop nicely. Users of Java probably recognized it as something quite similar…

10

Debugging Trick

My colleague Kang Su (that’s his first name) came by my office yesterday to borrow a book. You might think a story that starts like this couldn’t possibly lead to anything interesting. This tale is compelling though so hang tight. So the book in question was Debugging Applications for Microsoft .NET and Microsoft Windows (what…

2

Interop 101 – Part 2

In my last post, I began my little foray into basic managed/native interop scenarios. The goal is to discuss (in a first step at least) the different ways one can access native code from the managed world. Arguably, the simplest method is the one I used in part 1, which is to use C++/CLI and…

7

Interop 101 – Part 1

It’s funny how often the people within our team (myself included) take certain things for granted. We have provided a great way to bridge the gap between native and managed code with C++/CLI yet I am continually surprised by how little information has been successfully conveyed. I posted slides from the talk I gave last…

13

Channel 9

The folks over at Channel9 have posted my first video over here. If you don’t know what the site is, the quick explanation is that it’s a repository of video conversations with people at Microsoft. In this case, Charles Torre sat down with me to talk about random tricks for Visual C++ developers, some history…

3

Thoughts about Tech-Ed 2006

As I mentioned in previous posts, I was Microsoft’s largest sponsored conference a few weeks ago. I have been mulling over what I saw and heard while I was there and I feel it’s time to write a little post-mortem. First point, the conference is huge. Clearly the industry loves to bring 15,000 people together…

3