Apologies I just worked out what the problem is, I forgot to escape one of the slashes in the C char array. Is there any chance something like this could be pushed back into ClamAV? As I'm sure many people would find scanning memory very useful. cheers Chris