Wayne- Sounds like the problem is nailed, but I'm with that developer on this one: I would assume that a -1 returned from a number-of-lines API call would mean an error condition occurred.
-- -Mark Wieder Using The Bat! v1.63 Beta/7 on Windows 2000 5.0 Build 2195 Service Pack 4 ________________________________________________ Current version is 2.02.3 CE | "Using TBUDL" information: http://www.silverstones.com/thebat/TBUDLInfo.html