Yes, because argv is an array of pointers, you probably don't want to pass the entire array, but one of the elements in argv - although of course, I'm just guessing what your function actually wants.

--
Mats