Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find open files
Message
 
To
21/09/1997 14:15:56
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00050218
Message ID:
00051016
Views:
38
> >>> 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? Yes, that's exactly what I want. I'm lloking for pragramatic way of disp stat. Can anybody help now? tia Dezider --
There were three worst disasters in the history of human
race in 20-th century:
1, Hiroshima 44
2, Tchernobyl 86
3, Windows 95
Previous
Reply
Map
View

Click here to load this message in the networking platform