Hi Fred,
Not exactly a solution but somewhat close --
Using File Mapping for enumerating files opened by Visual FoxProhttp://www.news2news.com/vfp/?example=473This routine enumerates all files opened in current VFP session.
* * *
CreateFileMapping API function operates with system file handles. As far as I know, VFP file handles (i.e. returned by FOPEN()) are pseudo-handles. And the relation between them and the system files handles is kept hidden from developers.