Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hibernation and Invalid Seek Offset
Message
De
17/01/2014 12:45:23
 
 
À
17/01/2014 10:50:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Mobile
Divers
Thread ID:
01591908
Message ID:
01592090
Vues:
56
>>>>>When I close my laptop it goes into hibernation mode. When I open it, a running VFP application oftentimes (always?) reacts with an 'Invalid Seek Offset' error. Apparently it does not save and restore the file handles.
>>
>>>>Nope, the problem is that the file handles are closed on the server side as well, you will have to handle the error.
>>>>There is no workarround as far as I know.
>>>
>>>Windows generates file handles kind of randomly. Is this not the case with sql-server?
>>
>
>Actually I'm quite amazed now that so many other applications keep working when awakening from hibernation.
>We can program on a Shutdown event. Is hibernation also detectable? In that case it can be worth the effort to close and restore connections programmatically (in case of dbf-tables on the network).
>
>
I think if you work via cursors or views it could be handled similar to WLAN dropping connection. In our fwk (at least via cursoradapter, older stuff not tested as the stuff we updated last only used cursoradapter) you can set the behaviour to close the connection to server side tables after access and it will automatically reopen on refresh or tableupdate.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform