Why? AFAIK, the "unsigned char" is one byte unsigned integer not a string.
>My 2 cent's to what Boris has suggested. You might need to allocate more space for the lcTest.
>
>For example
>lcTest = SPACE(100)
>or
>lcTest = REPLICATE(CHR(0), 100)
>
>The description for this function possibly can give you the exact number of bytes. If this input parameter is a structure, after the function returns, the lcTest may contain some data about the device.
--sb--