Path: utzoo!attcan!uunet!tropez!dlucy From: dlucy@tropez.UUCP (Doug Lucy) Newsgroups: comp.lang.c Subject: Re: Reading MS-DOS directory in C, how to Summary: CXL wpickfile & wpickstr Keywords: C, MS-DOS, system calls Message-ID: <131@tropez.UUCP> Date: 15 Feb 90 14:26:23 GMT References: <1990Feb14.031640.28944@usenet.ins.cwru.edu> Organization: DC Pro, Falls Church, VA Lines: 21 In article <1990Feb14.031640.28944@usenet.ins.cwru.edu>, dkazdan@cwsys2.cwru.edu (David Kazdan) writes: > > would like to read the current directory in a C program.... > some call that returns an array of pointers to strings > The CXL (C eXtended Library) by Mike Smedley (it's shareware) is a rather full-featured windowing, input and graphics lib. It has two functions you may be interested in (not sure what your application is): wpickstr and wpickfile. These functions put up a user-defined window complete with highlight bar and user-defined/or-not movement that lets the user pick a string from an array *OR* pick a filename from the disk structure (user can follow tree up or down). It comes in Microsoft, Zortech (?) and Borland flavors. Lots of docs, too. (Does this sound like an ad, or what?) -- "It's such a fine line between clever..." < Doug Lucy DC Pro > "...and stupid." < uucp: uunet!tropez!dlucy > "Yeah, stupid." < bbs: 703-370-8672 >