Environment versions
Network:
Windows 2008 Server
>>>>>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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only