Re: Query about: Wildcards, locators, pathnames, filenames, types, extensions and all that stuff
Hans Klaver (hansklav@xs4all.nl)
Wed, 24 Jun 1998 07:03:26 +0200
- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Stan Warford: "BlackBox tutorial"
- Previous message: Bernhard Treutwein: "Query about: Wildcards, locators, pathnames, filenames, types, extensions and all that stuff"
- Maybe in reply to: Bernhard Treutwein: "Query about: Wildcards, locators, pathnames, filenames, types, extensions and all that stuff"
Bernhard Treutwein wrote:
> I would need in BCF 1.3 something similar to the DOS calls
>
> find first & find next matching filename (Int 21H, Function 11H & 12H)
>
> I know: BCF has locators (which are related to pathnames)
> BCF has types (which are related to extensions)
> BCF has filenames (which are the same (?) as filenames)
>
> I can do a Files.FileList, but it does not allow to specify WildCards.
>
> Ofcourse, I could do a Files.FileList and try to extract from the
> unsorted list the corresponding matching names, but that looks to
> me like reinventing the wheel.
>
> Any ideas ?
I'm afraid you'll have to use windows API calls or Macintosh toolbox
routines.
In case of windows: WinApi.FindFirstFile and WinApi.FindNextFile. The
interfaces of these can be found in the BlackBox Win subsystem; how to use
them can be found in a book on the Win32 API. If you need assistance in using
them, or if you use Macintosh, feel free to ask me, maybe I can look it up
for you.
Hans Klaver
- Next message: Stan Warford: "BlackBox tutorial"
- Previous message: Bernhard Treutwein: "Query about: Wildcards, locators, pathnames, filenames, types, extensions and all that stuff"
- Maybe in reply to: Bernhard Treutwein: "Query about: Wildcards, locators, pathnames, filenames, types, extensions and all that stuff"