>i don't know how to delete your variant. >and i saw many strDup string.wouldn't delete at all. >why are you doing this. >or am i wrong usage? I'm sorry, but I don't really understand your question. Can you give a specific example of something that you think is a memory leak? -- Ross Finlayson Live Networks, Inc. http://www.live555.com/