Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FOPEN() fail faster?
Message
De
26/09/2007 15:29:11
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
20/09/2007 15:33:25
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01255774
Message ID:
01257015
Vues:
27
>>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++!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform