>Looks like 65535 is the max value for nFileEnd to be.... must be maxing out the string variable sFileData...
>
>Guess I'll have to wrap the call with a check for the value of nFileEnd.
>
>Thanks!
>
No problem, I did not do much. Glad to hear you found the error.
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope