I am writing a program that deals with some rather large files (~700MB~ or so) and I am running across a problem. Consider the following code:
Now this works reasonably well with smaller files (200K to 15Meg).
If, on the other hand, I have a large file 500M to 700M, without a sigificant delay (around one minute), the returned string winds up being nul length and an ERR = 0.
The only thing I can think of is that, without a siginifient delay of around one minue, I am not giving w$ time enough to set up a swamp file.
Is there any way of telling when w$ is finished?
Code:
function pbmain ...process ...process te$ = DoSomething(m$) ...process ...process end function function DoSomething(temp$) as string ...process ...process function = temp$ end function
If, on the other hand, I have a large file 500M to 700M, without a sigificant delay (around one minute), the returned string winds up being nul length and an ERR = 0.
The only thing I can think of is that, without a siginifient delay of around one minue, I am not giving w$ time enough to set up a swamp file.
Is there any way of telling when w$ is finished?
Comment