Posts
  • Jonathan Swift's Blog

    Customer Care Framework

    • 0 Comments
    I've been in Redmond all week checking out CCF with the product group. Some of my clients are looking at utilising its features and so I'm busy getting the lowdown on the CCF roadmap etc. Not many people tend to have heard about it and its capabilities...
  • Jonathan Swift's Blog

    .NET Interop - Freeing unmanaged memory

    • 0 Comments
    OK. Imagine you need to call an unmanaged function. Now imagine this function returns you a pointer to a block of unmanaged memory that it's allocated. The runtime will clear this up for you right? Wrong. Well, wrong a lot of the time anyway. The runtime...
  • Jonathan Swift's Blog

    Dynamically calling an unmanaged dll from .NET (C#)

    • 38 Comments
    This sample is in response to a question left on my previous post, namely how to call an unmanaged dll from managed code when the dll in question isn't known until runtime (for instance, the path is stored in the registry, or an xml file, etc etc). ...
  • Jonathan Swift's Blog

    Calling an unmanaged dll from .NET (C#)

    • 41 Comments
    OK, so this first example is going to show how to call an unmanaged dll from .NET (C#). There's no better way to explain how it all fits together than by example, so first off we're going to create an unmanaged dll in C++. The function we're exporting...
  • Jonathan Swift's Blog

    COMing up..!

    • 0 Comments
    I've been asked by one of my clients to run a workshop that goes through .NET and COM interop, a subject I've done a fair amount of work on in the past. It's an interesting topic (at least I think so ; ) and as such I'm going to put excerpts on here for...
Page 1 of 1 (5 items)