Genetic Algorithms

I have seen a great example of solving the path finder problem with a genetic algorithm…. I’ll modify it, write about it and put it on here by mid january…. promise! Merry Xmas by the way


Customer Care Framework

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 and so expect a blog post imminently with…


.NET Interop – Freeing unmanaged memory

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 always attempts to free unmanaged memory using the COM…


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

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). Apologies if this sample seems a little hurried, but…


Calling an unmanaged dll from .NET (C#)

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 from the dll would obviously be of…


COMing up..!

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 your…


Welcome to my blog!

Hi there and welcome to my blog, admittedly sparse at present… Over the course of the next few months this blog will grow to include all manner of coding bits and pieces, ranging from Artificial Intelligence to Web Services.  Exciting huh?Recently I’ve been spending a lot of my spare time looking into DirectX and games programming, so…