Does it have do be done with a .dll? Otherwise you could call a .bat file and pass in the name/path of the file. Then in the bat file have something like:
dir %DIR% where %DIR% is the path and filename. (dir myfile.txt will return the file size) Download Fergal's example (of directory operations) on the component zone (witango.com) and you'll see what I mean. You'll probably just need to modify this slightly to achieve the desired result.... --- Eric Weidl <[EMAIL PROTECTED]> wrote: > Hi, > > Does anyone have a DLL which, given the full path to > a file, will return > its size in bytes (or kilobytes)? > > I need this for Witango 5 on Windows 2000. > > Thanks, > > Eric > > > ________________________________________________________________________ > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
