On 03/21/2012 12:24 PM, Cook, Jonathan wrote: > Unfortunately, strndup is not supported in the Windows DDK. The code > for strndup is pretty short so maybe it could be included under a > #ifdef WIN32? That or just use malloc()+strncpy() directly I suspect.