use memcpy and named pipes under Win