Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find open files
Message
From
21/09/1997 14:15:56
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
16/09/1997 12:16:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00050218
Message ID:
00050967
Views:
37
>> is there any way to find out how many files the has been opened with >low-level fuctions, and what are the handles of those files? >>Smthg like DISP STAT shows, handle, position, filename.... >>any idea? >> tia >> Dezider > >Probably, I misunderstand you. IMHO, Display Status will really return the >information you need. I need that too, Ed, but programmatically. Disp Stat flows several screens of info, and it's kind of heavy-duty job to List Status into a file, and then read the file looking for the info on LL open files. Besides, it's just too long to read on-screen. Something like AFused() should be better, so we could just check for each available file handle. Besides, Disp Stat gives you the filename of the LL opened file, and the file position. The first one is impossible to get even if you know the file handle, and the second one needs =Fseek(handle_lc,0,2) plus an additional variable to save the current position. This info is still remembered somewhere, so I guess there must be some undocumented functions to obtain it. Anyone able to dig them out?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform