Jeremy Kuhne's Blog

Thoughts from a developer on the Expression Suite. Coding tidbits (Managed C++, C#, interoping with unmanaged code) and just general things related to Expression.

  • Jeremy Kuhne's Blog

    Generic Collections I

    • 10 Comments
    In one of my first posts I briefly mentioned that I would discuss a bit about what I've learned about using the new generic collections. I've been putting it off a bit because I knew it would be a bit lengthy, but I really feel this is important so I...
  • Jeremy Kuhne's Blog

    P/Invoke? No way!

    • 4 Comments
    [7/20/05: Added an additional comment regarding setting up for Win32] I've mentioned in my earlier posts just how nice Managed C++ in 2005 (C++/CLI) is when it comes to interoping with unmanaged code. It makes P/Invoke downright painful by comparison...
  • Jeremy Kuhne's Blog

    Generic Collections II

    • 7 Comments
    In yesterday's post I went over the very basics of generic collections in the 2.0 .Net framework. Today I pick up where I left off with... Predicate<T> System.Predicate<T> is a generic delegate that is used to specify a search condition...
  • Jeremy Kuhne's Blog

    A little more on bytes and endianness (byte order)

    • 1 Comments
    In my last post I talked about converting structs into byte arrays and vice versa. There are a couple of related posts I've found that are worth reading: Read binary files more efficiently using C# Convert Integers to Byte Arrays The first...
  • Jeremy Kuhne's Blog

    Looking at double buffering and the new BufferedGraphics classes

    • 0 Comments
    I started spending some time looking at double buffering with Windows Forms a little while back and noticed that in the 2.0 framework there are a couple of new BufferedGraphics classes. I toyed around with them a bit and got them to work, but didn’t really...
  • Jeremy Kuhne's Blog

    SSCLI 2.0 and Visual Studio 2008

    • 7 Comments
    The currently available SSCLI 2.0 (Rotor) does not build successfully with Visual Studio 2008. I've managed to make it build and I thought I'd share my changes. Be very aware: I haven't done anything resembling thorough testing on these changes...
  • Jeremy Kuhne's Blog

    Byte of a struct and onto endian concerns

    • 3 Comments
    [Updated: added performance data. 7/19] I haven't written for a while, but it hasn't been for lack of things to write about. Just been a little busier than normal lately. I'll let you imagine why. ;) Something that I've been working on is parsing...
  • Jeremy Kuhne's Blog

    VS 2005 Managed C++ Syntax Pt. 1

    • 0 Comments
    I had very little experience in C++ when I sat down and tried my hand at using Managed C++ in Whidbey last fall (C++/CLI). Documentation was a bit more sparse back then and I found a few things a little difficult to figure out. I've looked again and I...
  • Jeremy Kuhne's Blog

    Generic Collections III

    • 5 Comments
    So far I've gone over the basics of generic collections and moved on to looking at List<T> and Predicate<T>. As mentioned yesterday, this post will deal with subclassing and the other System delegate types. The "Other" System.Delegates...
  • Jeremy Kuhne's Blog

    P/Invoke? No way! (Pt. 2)

    • 2 Comments
    [7/20/05: Additional comment added for Marshal::GetFunctionPointerForDelegate()] There are some instances where Win32 requires a callback function pointer. This frequently comes up in Enumeration APIs, such as EnumWindows. In this post we’ll look at...
  • Jeremy Kuhne's Blog

    Enabling Remote Desktop remotely

    • 1 Comments
    Ran into a situation where I needed to get remote desktop access to a machine where I hadn't previously enabled it. I'm not the first to post about this, but the other posts I've seen didn't have information on opening the firewall (XP SP2). Here's one...
  • Jeremy Kuhne's Blog

    Setting up C++ Interop (with Win32) in VS 2005.

    • 0 Comments
    I've already given the steps necessary to make this happen in an earlier post , but as this will come up so much I decided to pull it into a seperate post with more explicit details. The basic things you need again are: /clr option set for the project...
  • Jeremy Kuhne's Blog

    Using /clr and __declspec(thread)

    • 1 Comments
    Sorry I haven't been writing much lately, but a lot has been going on in Expression land. I've switched over to working on build and setup development so you can expect to see the flavor of my posts change somewhat. Here's a frustrating bit I ran into...
  • Jeremy Kuhne's Blog

    New Version of Acrylic Available!

    • 8 Comments
    I'm happy to report that the August 2005 Community Technology Preview is live on http://www.microsoft.com/products/expression ! There are a number of videos and feature details at http://www.microsoft.com/products/expression/features.aspx . Have...
  • Jeremy Kuhne's Blog

    C# or C++?

    • 0 Comments
    I just read C++ vs. C# and thought it might be worthwhile to throw up a few thoughts. I've been ranting and raving about how great the new Managed C++ (C++/CLI) is. It's true, it is great, but I still prefer to do most of my work in C#. Why? C#...
  • Jeremy Kuhne's Blog

    Acrylic has gone live!

    • 2 Comments
    [updated 1/31/06 to use new blog photo gallery] Greetings from within Microsoft! I'm excited to let you know that we've just released the beta for Acrylic, an application for professional graphic designers. Please go take a look, download, and send...
  • Jeremy Kuhne's Blog

    Generic Collections IV

    • 2 Comments
    Back again, and as promised... Subclassing Generic Collections The framework provides three basic collections that are intended for derivation. They are located in System.Collections.ObjectModel: Collection<T> KeyedCollection<TKey...
  • Jeremy Kuhne's Blog

    Tools for Digging Deeper Into .NET

    • 1 Comments
    As I’ve been preparing more things to talk about I realized that it would be beneficial to have a list of tools to refer back to in my posts. So here you go--a list of tools I find essential to development in .NET. The most important tool is Lutz Roeder...
  • Jeremy Kuhne's Blog

    MSBuild your SSCLI C# projects

    • 3 Comments
    [ Edit 22 Feb 2008: The complete SSCLI.CSharp.targets file can be found here . ] In my last post I got SSCLI compiling with the 2008 C++ compiler ( SSCLI 2.0 and Visual Studio 2008 ). (A side note: since it is clearly possible to build SSCLI with the...
  • Jeremy Kuhne's Blog

    Creating a SSCLI C# Template for Visual Studio

    • 0 Comments
    In my last post ( MSBuild your SSCLI C# projects ) I demonstrated how to create an MSBuild targets file for the SSCLI (Rotor). In this post I'll show you how to make it easier to use Visual Studio to develop SSCLI C# projects. To build successfully...
  • Jeremy Kuhne's Blog

    Interop with Office

    • 0 Comments
    Before I dive in, I've put together a simple doc showing how you can liven up the clip art in Office using Graphic Designer that you might find of interest. The other "feature" that was included in the current CTP of Expression Graphic Designer (EGD...
  • Jeremy Kuhne's Blog

    New version of Acrylic available for download!

    • 0 Comments
    I encourage you to take a look. We've done a lot to tighten things up since the last release. We're still hard at work, so any and all feedback is greatly appreciated. (Links to the newsgroup can be found on the site.) http://www.microsoft.com/expression...
  • Jeremy Kuhne's Blog

    Expression on Channel9

    • 1 Comments
    A nice video that will give you a bit of what's going on with Expression. http://channel9.msdn.com/Showpost.aspx?postid=115387
  • Jeremy Kuhne's Blog

    How suite it is: Expression!

    • 1 Comments
    http://www.microsoft.com/expression It's a great relief to finally have this out in the open. There's a suite on the way, folks, and we're working hard every day to pack as much cool functionality in as we can for you. Take a look at the web site...
  • Jeremy Kuhne's Blog

    Inlining IL link

    • 0 Comments
    A tool for inlining IL in C#/VB . (Essentially.)
Page 1 of 2 (29 items) 12