Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get a list of Open Files?
Message
De
04/06/2007 13:28:32
 
 
À
04/06/2007 12:20:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01230281
Message ID:
01230306
Vues:
27
This message has been marked as a message which has helped to the initial question of the thread.
Have you looked at FAQ # 7896 and FAQ # 7790?

>Hi all,
>
>I am troubleshooting a problem where an INSERT-SQL is failing due to "File access is denied." I am at a loss as to how to trace the cause of the problem as it happens intermitently. The file in question has a very high access (READ/WRITE) rate. I've asked our client to moniter the table using a 3rd-party utility but the log gets so huge rather quickly and the process is manual.
>
>I am looking at putting the INSERT-SQL inside a try/catch and when the problem happens; capture the Open Files data and log it so I can hopefully find out the process that has the table locked. The Open Files that I'm talking about is the list one would see if you right-click on
>
>My Computer->Manage->System Tools->Shared Folder->Open Files
>
>using Win32 API.
>
>1. Can anyone point me to a similar solution using Win32 API? I am still looking around for the method that will allow me to get this information.
>2. Can anyone suggest another approach on how to troubleshoot/log the problem?
>3. What happened to the Win32 API section in UT?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform