Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FOPEN() fail faster?
Message
From
26/09/2007 15:29:11
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
20/09/2007 15:33:25
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01255774
Message ID:
01257015
Views:
28
>>Tried 10 and 0, same thing. It just so happens I thought I was writing to C:, when I'm writing to D: which is a flash drive.
>
>That's technology of the Star Trek: slow light. Now you have a flash which takes five seconds - that's progress :)

:) I'm using the flash drive so I can backup small DBs and have time to monitor it. In the real environment the .bak will be over 200Gb so it's not just nicety to have it show something like progress.

This gets weirder the further I go. Now, I've set a timer to monitor the file creation. The wierd thing is - I know the file size is growing as the backup runs. If I start Windoze Exploder and navigate to the file, when I click on the file, my VFP exe shows the new size. Explorer doesn't! Navigate to another file and back, same thing. Hit F5 in Explorer, the file size changes and so does my VFP exe.

So first question. Is there a way to make VFP force Windows to "refresh" itself?

Second question Does anybody understand C++ code? I've got a sample called mprocess.cpp which comes with SQL Server. It uses the SQL Server Virtual Device Interface which looks promising, but I never did C++!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform