Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid Seek Offset - Unusual Cause
Message
From
22/10/2010 09:32:25
 
 
To
22/10/2010 04:00:45
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01486589
Message ID:
01486611
Views:
67
>Error 1103 - Invalid Seek Offset - is usually caused by corrupted index files. However, I just ran into a completely different cause: trying to FOPEN() a large file (43GB). FWIW it was on Vista32.
>
>I don't know how large a file FOPEN() can successfully open, or whether running on a 64-bit OS makes any difference.

From my StreamFso Class created on similar reasons
		this.oFileSystem	= createobject( "Scripting.FileSystemObject")
		this.oFile			= this.oFileSystem.getfile( m.tcFilename )
		this.oStream		= this.oFile.OpenAsTextStream(1)
which subclasses a StreamLlf class which uses only vfp LLF calls and
replaces those LLF functions with FSO calls to internal objects.
Should be enough to give you the picture...

On the plus side: when writing large amounts of data I sometimes found
large speedenhancements going the COM way.

regards

thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform