Marcus, The GetNextChunk(void *cookie, void **chunkBuffer, int32 *chunkSize, media_header *mediaHeader) Method does not supply a streamnumber which makes it difficult to determine which cookie I need to cast to. I think all the methods need to supply this parameter FreeCookie, GetStreamInfo, Seek. Cheers David -- This fortune is false.